Sort users when managing credentials