Updated the logic that occurs when removing a sorted column. Once a sorted column is removed then the sorted array will reset entirely.