updated ordering problem in tagged