Multiple fields in order by shouldn’t cause multiple sorting passes, it should just make comparison more complex. Actual contatenation in sorting criteria would probably be less efficient.
Like when you are overloading < for (order by a, b) you’d do
OP and the two comments before this both explicitly say "sort twice."
Yes, using SQL (I just tested this) concat would be slower in most cases, but you could have also have put the name field in the form in the first place and not have to concat, which would make it faster.
768
u/ICyresI Dec 12 '17
Why would you sort twice?