I\'m working with some postgres data that needs to be processed twice in two different orders.
Currently I select the data with one ORDER BY clause, then I run the id