add sort to pending_users