Sort users by mode