adds order to scope