Redid sorting engine

 - Phased out indexing step in favor of one-step sorting
 - Added "overflown" boolean to SortingResult

Old code remains commented out for history.

TODO:

 - Remove commented code
 - Test this
 - Integrate new sorting system