Jeff Atwood touched an interesting topic yesterday, Sorting for Humans : Natural Sort Order.
Let's sort the following strings: a, A, b, B, 1, 2, 10
The ASCIIbetical order is as follows: 1, 10, 2, A, B, a,...
When using a programming language, sooner or later we all end up trying to solve similar problems. When I enjoyed writing applications in Prolog or C++ (yes, many years ago; and yes, I said enjoy), I wasn't lucky enough to be able to search the...