Ensure order is consistent