anchor.diff:                                occurrence=required},
                          #field{name=f2, fnum=2, rnum=3, opts=[],
                                 occurrence=optional}]}] =
  -        lists:sort(
  -          normalize_msg_field_options(
  -            enumerate_msg_fields(
  -              extend_msgs(
  -                resolve_refs(
  -                  reformat_names(
  -                    flatten_defs(
  -                      absolutify_names(Defs)))))))).
  +        do_process_sort_defs(Defs).
   
   parses_service_test() ->
       {ok,Defs} = parse_lines(["message m1 {required uint32 f1=1;}",
  
positive.code:                              "}"]),
      [{{msg,m1}, _},
       {{msg,m2}, _},
       {{service,s1},[{req,m1,m2}]}] =
          lists:sort(
            normalize_msg_field_options(
              enumerate_msg_fields(
                extend_msgs(
                  resolve_refs(
                    reformat_names(
                      flatten_defs(
                        absolutify_names(Defs)))))))).
  
  
  parses_service_ignores_empty_method_option_braces_test() ->
      {ok,Defs} = parse_lines(["message m1 {required uint32 f1=1;}",
  
negative.code:     [{{enum,m1_e1}, _},
       {{msg,m1},     [#field{name=y, fnum=11, rnum=2},
                       #field{name=z, fnum=12, rnum=3}]},
       {{msg,m1_m2},  [#field{name=x, fnum=1,  rnum=2}]}] =
          lists:sort(
            enumerate_msg_fields(
              resolve_refs(
  