[OE-3393] Fix anaesthetic sort migration