Adds option to controll auto_sorting