created scopes for ordering