News for hackers. Stuff that matters.
Re:When I say "alphabetical order", I mean "alphabetical order" by afrisch on Sunday September 28, 2025 @11:39AM (#45405136)
But -10 is smaller than -2, right?
Re:When I say "alphabetical order", I mean "alphabetical order" by JoshTriplett on Sunday September 28, 2025 @11:46AM (#45405207)
Filenames rarely have negative numbers in them, and it'd usually be ambiguous whether they were negative or dash-separated positive.
Re:When I say "alphabetical order", I mean "alphabetical order" by pwdisswordfishz on Monday September 29, 2025 @02:37AM (#45410918)
That's a hyphen, not a minus sign, silly.
Re:When I say "alphabetical order", I mean "alphabetical order" by ZoomZoomZoom on Monday September 29, 2025 @04:32AM (#45411524)
I know you jest, but this just further demonstrates why Natural Sorting is complicated and might not be the best default choice.

my_photos_at_-3c

my_photos_at_-10c

Do users want smaller numbers first, or do they want them in counting order, away from zero?