2145 Unable to ORDER BY this column

Advantage Error Guide

Problem: The ORDER BY clause contained a column that cannot be ordered (e.g., memo, binary, or character field longer than 1024 characters).

Solution: Use only fixed-length fields that are 1024 characters or less in the ORDER BY clause.