Skip to main content
5 events
when toggle format what by license comment
Dec 1, 2016 at 16:42 comment added Andriy M @ypercubeᵀᴹ: True, although I never thought of negative numbers being a possibility in the OP's setup until the other answer suggested the idea. For completeness, then, I should also add that this method will sort non-integer values unexpectedly as well.
Dec 1, 2016 at 16:35 comment added ypercubeᵀᴹ @AndriyM it will also sort negative numbers in an unexpected way.
Dec 1, 2016 at 13:44 comment added Andriy M This query will sort numbers correctly but char strings of different length will be sorted in an unexpected way: longer strings after the shorter ones rather than just alphabetically. See demo.
Nov 29, 2016 at 17:09 comment added Paul White You could improve this with some description of the code and perhaps a link to an online demo?
Nov 28, 2016 at 16:04 history answered Raj CC BY-SA 3.0