This is a topic that has facets from an NLP perspective involves well known sorting patterns. Read what is written in the FOOTSTEPS October newsletter and if you feel motivated to comment that will be great. To obtain the newsletter go to
http://www.heropath.co.uk/cms/images...n-oct-2008.pdf