making sort errors a bit more palatable