Use logical reasoning to find the order