On 3/2/08, Joseph L. Casale <jcasale / activenetwerx.com> wrote:
> I am trying to find examples of this to help me but can't seem to locate any on the web. Anyone know of any online examples? I know ruby has a built in method for sorting an array, but it's part of a tutorial...

A simple example would be a natural order comparison ("a20" sorting
before "a120"). A bit of googling turned up Alan Davies' String#natcmp
implementation:

http://sourcefrog.net/projects/natsort/natcmp.rb

Christopher