Removed redundant sort - #166