class ChangeSetComparator implements Comparator<String> {
        private static final Map<String, Integer> order = new HashMap<>();

        static {
            order.put("id", 1);
            order.put("author", 2);
            order.put("changes", Integer.MAX_VALUE);
        }

        @Override
        public int compare(String o1, String o2) {<FILL_FUNCTION_BODY>}
    }

            Integer o1Order = order.get(o1);
            if (o1Order == null) {
                o1Order = 10;
            }

            Integer o2Order = order.get(o2);
            if (o2Order == null) {
                o2Order = 10;
            }

            int orderCompare = o1Order.compareTo(o2Order);

            if (orderCompare == 0) {
                return o1.compareTo(o2);
            }
            return orderCompare;
        
<methods>public void <init>() ,public java.lang.String[] getValidFileExtensions() ,public static java.lang.String removeClassTypeMarksFromSerializedJson(java.lang.String) ,public java.lang.String serialize(liquibase.serializer.LiquibaseSerializable, boolean) <variables>protected Yaml yaml