Ruby: Version sort (bad, incomplete)