Throw the sorting exception