optimizes repetative sorting
Merge pull request #25 from tychoish/optimization/list-sorting

optimizes repetative sorting