added user sorting feature (did not include sorting for email nor phone number)