Ensure alters are parsed in sort order