You specified an invalid sort order in FIELDS instruction..
Resubmit the sort specifying either A (ascending) or D (descending).