Add sort order to user scope.