Refactoring Sorting classes

Splitting up into individual files