Made autosort more memory efficient, added autosort to API