def fix_schema_node_ordering(parent):
children = parent.getchildren()<EOL>i_nodes = [node for node in children if node.tag == '<STR_LIT>']<EOL>ii_nodes = [node for node in children if node.tag == '<STR_LIT>']<EOL>if not ii_nodes:<EOL><INDENT>return<EOL><DEDENT>for node in children:<EOL><INDENT>parent.remove(node)<EOL><DEDENT>for node in i_nodes:<EOL><INDENT>parent.append(node)<EOL><DEDENT>for node in ii_nodes:<EOL><INDENT>parent.append(node)<EOL><DEDENT>for node in ii_nodes:<EOL><INDENT>fix_schema_node_ordering(node)<EOL><DEDENT>
Fix the ordering of children under the criteria node to ensure that IndicatorItem/Indicator order
 is preserved, as per XML Schema.
:return: