Re ordered queries