626 (E)- Complex operation '%2' in order by specification for '%1' requires member declaration
In order to use complex operations, operation or access paths as key attribute for ordering a collection requires member declaration type like:
data_type attribute_name = operation