You could convert them to integer, sort and convert back to string.
There may well be a neater way as this is ruby, I don't know.
2009/5/13 Shandy Nantz rails-mailing-l...@andreas-s.net
I have this drop-down that get populated with stuff. As I have
recently found out, this stuff will either
On May 13, 11:03 am, Shandy Nantz rails-mailing-l...@andreas-s.net
wrote:
I have this drop-down that get populated with stuff. As I have
recently found out, this stuff will either be all string values or all
numerical values. I have the string values being ordered correctly but
the numerical
2 matches
Mail list logo