2127 Too many ORDER BY items

Advantage Error Guide

Problem: The ORDER BY clause of the statement contains too many items.

Solution: Reduce the number of items in the ORDER BY clause. See SQL Statement Limits for the maximum number of items allowed in the ORDER BY clause.