Fixed sorting bug

Sorting was not taking new Total Time column into account.
I also rearranged columns to have Total Time before Average, as I though
it made more sense.
Merge pull request #82 from dannybutler/master

Fixed sorting bug