What would be the best way to sort LDAPSearch results res by ascending order with unboundid?
Currently, my netscape project has it as follow:
res = ldapConfig.search(ldapConfig.getDepartment(), LDAPConnection.SCOPE_SUB,
grpFilter, grpAttrs, false, cons);
res.sort(new LDAPCompareAttrNames("MY_ATTRIBUTE", true));
When upgrading to com.unboundid.ldap.sdk.migrate.ldapjdk.*
, LDAPCompareAttrNames()
and sort()
were the only two methods not supported by the unboundid .migrate.ldapjdk
library.
Any input would be greatly appreciated.
Thanks,