Sort limits
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The following table lists the limits for sorting data (unless otherwise specified).
| Category | Limit |
|---|---|
| Levels | 1 to 16 columns or expressions. |
| Size | When executing a query with a sort
(BY clause), there is a size limit on the number of sort bytes the
query can handle. The number of sort bytes is the number of bytes contained in all the
indexes that are involved in the query for a single result-list entry. This limit is
roughly 1970 bytes. The exact size limit depends on the number of columns and
expressions involved in the sort. |
Example of size limitation
|