Added sort users method