Natural sort order is a pretty common requirement - Windows Explorer and the Mac Finder are both examples of natural sort in action. It's true there are lots of edge cases, but just handling letters and digits in a human-reabable way is enough in many cases.
It seems the solution is to add a non-editable sort field to the model that is a transformed version of the field you wish to sort by, and use order_by on the sort field. PS: My apologies for the confusing initial post -- I was editing my post in a hurry and it got a little messed up. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---