I have to order table by multiple rows, one of them is “custom”. I have 4 values in that column, and priority should be -60 or 151, and then 30 or 111. So I have just that specific 4 values, and if like -60 is after 151, it shouldn’t be sorted, and if -60 is after 30, it should be sorted.
Thanks.
You can use a case statement in the order by.
Or something like this