natural sort refactor, moving sorting class inside