Cleanup sort_lists

- some refactoring
- added javadoc
Cleanup sorters

- some refactoring
- added javadoc
Cleanup timer

- some refactoring
- added javadoc
Cleanup test

- some refactoring
- added javadoc