Request and response controls are needed to get the directory server to sort returned objects by a specified attribute.
See also: http://tools.ietf.org/html/rfc2891
Add Control support for RFC 2891 - LDAP Control Extension for Server Side Sorting of Search Results http://www.faqs.org/rfcs/rfc2891.html
Closing the resolved issues.
Fixed with DIRAPI-137
Sorry, this issue is a duplicate!