in reply to sorting number

That's a fairly frequently asked question, see e.g. natural sort on array of arrays and Sorting text-number values.