From: Aaron Vegh Date: 2009-03-28T11:18:49+09:00 Subject: Sorting decimal index numbers? Hi there, I'm working with a list of items that contain decimal-based index numbers. I'm sorry I don't know the term for these kinds of numbers, and I'm having trouble finding out how to sort them properly. To wit: 1.1 1.10 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 When the index numbers are float or strings, they sort like this. But I want "1.10" to be the last number. Any idea how to put these guys in the right order? Thanks! Aaron. -- Posted via http://www.ruby-forum.com/.