Here's the deal...
I have a select box displaying values from a mysql table, the column is varchar.
I am sorting ASC... I want the values to be sorted "numerically"
For example, the values I am storing are range from 1 - 26.2
For example these values are being displayed as:
1, 12.4, 13.1, 2, 26.2, 3
I want:
1, 2, 3, 12.4, 13.1, 26.2
Any clues how to modify my SQL statement to handle this??
Appreciate the input!!
For an example, click the distance select box on:
example of sorting