The reason it is ordering that way is because:
The total for id 178 is lower then 136 is lower then 89 etc.
Your ids will always be listed based upon your total column so, while your total column will always be sorted lowest to highest, your IDs will always be jumbled because you are sorting on the total column.
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
Read this if you want to know how to get a correct reply for your question:
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^