Changed orderly to inside query