I have been missing for a long time, due to sorting things out.... so I thought it would be fitting to celebrate this with a new #sorting #algorithm in #go
Let me give your MaybeSort..... it maybe will sort your thing at some point, or just run forever....
https://github.com/myceliatrix/maybesort
Yes it is made to be dumb and annoying.
How it started: Why aren't the things properly sorted when sorting alphabetically?
How it ended: WTF?!? Why does this thing sort shorter strings AFTER all others? Like "ABC" is sorted behind "ABCD" in ascending sorting mode.
Anyone know what library has this "surprise feature" or did someone implement their own sorting algorithm just for that?
#Development #Approaches
Naturalest sort · Ways to order strings in a human-friendly way https://ilo.im/16bgfe
_____
#Programming #Coding #Sorting #Algorithms #JavaScript #AI #WebDev #Frontend #Backend #Comparisons