There is one JDBC-LDAP bridge availble from OctetString, which helps you access an LDAP server just like any RDBMS database. LDAP JDBC Bridge But, I am not sure if it supports "ORDER BY" clause. Sometime back, when I was trying, I found that it had some limitations in using the WHERE clause. I don't remember what exactly was the issue. Try your luck anyways.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com