I found a bunch of questions on this topic with nice solutions but none of them actually deal with what to do if the data is not to be ordered in one specific way. For insta
I use this to suppress the sort:
ORDER BY @@rowcount
@@rowcount is constant within the query. Example:
select N = row_number() over (order by @@rowcount) from sys.columns
Use of (select 0) in the ORDER BY seems to run much slower.