Forum Moderators: coopster
problem is when i do the order by asc it counts 10:00 before 8:00
I also have the values translated to decimal values, so 10:45 would be 10.75, but the ordering will still put 2 digit values before the single digit, ie 10.75 will come before 9.75
is there any way to force it to go in actual numeric order
To select the results in ascending or descending order you must have the correct column type. The way it looks now you have it as a string type. For it to work correctly, you want the column to be of type FLOAT.
Numeric Types [dev.mysql.com]