Say I have an array filled with times, but in seconds accurate down to the millisecond. How would I go about sorting these in order from highest to lowest value?
I have tried this method out: http://www.zparacha.com/sort_numeric_arrays/#.T2KysRFuksI
But, it only seems to sort intergers. I need it to sort down to the decimal.
asked Mar 16 '12 at 09:47 PM
If you're not worried about the internals of the sort, letting the .NET framework take care of it for you may save some headaches. You didn't mention which particular data structure you're using, so I'll offer an example which includes some popular choices.
answered Mar 16 '12 at 10:16 PM