add sorting for users