Refactoring initialization
Adding options to disable autosorting
Documenting autoresort options