I have a table with a column named category. the data in it is 1, 2, 3 so every row has a category.
I need sort data by category like this
1,2,3,1,2,3,1,2,3,....
then if some category finished sorting continues like this
1,2,3,1,2,3,1,3,1,3,1,1,1,1,....
I am using PostgreSQL.
thanks for your answers
