User friendly sorting

Posted by posted by Francis @ 12/11/2007 03:29:00 PM

This is one of those "Why didn't I think of that?" idea and a "Why doesn't Windows already do that?" idea at the same time.

When you look at a list of pictures in Windows explorer. Why is dog10.jpg shown before dog2.jpg. This is the kind of ordering that only makes sense to programmers. This is why your digital camera adds all those extra zeros when you import files and your dog pictures are called dog0001.jpg.

David Koelle proposes an alternative ordering algorithm that makes more sense to non-programmers.

DaveKoelle.com | The Alphanum Algorithm

Update: Jeff Atwood points out that Vista's explorer uses a more natural sort order. I double checked on my XP machine at work and it still does the "ASCII sort". I was smoking crack. The explorer in Windows XP does it right.

Labels:

2 Comments:

At 9:46 AM , Blogger Mathieu said...

Windows XP does that already.

 
At 10:17 AM , Blogger Francis said...

Is this an option you have to turn on? I just tried it on my XP machine and bob100.txt is before bob2.txt.

 

Post a Comment

<< Home

My Photo
Name: Francis Beaudet
Location: Gatineau, Québec, Canada

Links

Subscribe to
Posts [Atom]

My shared items

Powered by Blogger