ldap.php: from list to sortable table