Well, it works for the simple case, which includes Ruby's versions. '1.10.0' would sort '< 1.9.0' but we don't have to worry about that :)