Often, sorting is done with symbols sorted to the top, like 0
or *
or &
. This is the default way that mysql sorts; numbers and symbols and then A-Z. However, that makes the often ugliest or most badly formatted results float to the top (e.g. a result of @#$@3423
or 8 inch
or &
).
So I'd like to do a modified form of that, letters first A-Z, and then special characters last.
How would I go about creating that type of sort? Something in the ORDER BY
clause?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…