Enhancement
If, for example, a table is sorted by an I18N attribute column, all values must be loaded. At present, this is done individually for each value, so that as many DB accesses take place as the table has rows.
Improvement
All attribute values required for sorting should be preloaded before sorting.