I have a MySQL table that has a VARCHAR column. The column contains only numbers and I want to be able to sort it numerically, i.e. as 100, 101, 1001. Currently it sorts them as 100, 1001, 101 etc. I heard i could simply alter the table to add a collate attribute so that it will be sorted numerically. When i type "show collation" i don't see any collation type that seems to be meant for treating a varchar column as a numeric one.
So my question is, what collation can I use that will sort this varchar column numerically?