order state resolver