fail on malformed sort