Created
February 25, 2014 15:08
-
-
Save iolloyd/9210663 to your computer and use it in GitHub Desktop.
Correctly sort a list where the entries are composed of a mix of letters and numbers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT foo, length(foo) l | |
FROM someTable | |
ORDER BY order by l, foo; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment