Adds method to sort users