Implementing userSort methods