Fixed small bug with disabling sorting