Add sorting by user id