anchor.diff:      %% lists:sort
   
       SortVs = [#{"a"=>1},#{a=>2},#{1=>3},#{<<"a">>=>4}],
  -    [#{1=>ok},#{a=>ok},#{"a"=>ok},#{<<"a">>=>ok}] = lists:sort([#{"a"=>ok},#{a=>ok},#{1=>ok},#{<<"a">>=>ok}]),
  -    [#{1=>3},#{a=>2},#{"a"=>1},#{<<"a">>=>4}] = lists:sort(SortVs),
  -    [#{1=>3},#{a=>2},#{"a"=>1},#{<<"a">>=>4}] = lists:sort(lists:reverse(SortVs)),
  +    [#{1:=ok},#{a:=ok},#{"a":=ok},#{<<"a">>:=ok}] = lists:sort([#{"a"=>ok},#{a=>ok},#{1=>ok},#{<<"a">>=>ok}]),
  +    [#{1:=3},#{a:=2},#{"a":=1},#{<<"a">>:=4}] = lists:sort(SortVs),
  +    [#{1:=3},#{a:=2},#{"a":=1},#{<<"a">>:=4}] = lists:sort(lists:reverse(SortVs)),
   
       ok.
   
  
positive.code: % test map updates with matching
  t_match_and_update_literals(Config) when is_list(Config) ->
      Map = #{x=>0,y=>"untouched",z=>"also untouched",q=>1},
      #{x=>16,q=>21,y=>"untouched",z=>"also untouched"} = loop_match_and_update_literals_x_q(Map, [
  	    {1,2},{3,4},{5,6},{7,8}
  	]),
      M0 = id(#{ "hi" => "hello", int => 3, <<"key">> => <<"value">>,
  
negative.code: 	{'EXIT',{function_clause,_}} = (catch map_guard_sequence_2(#{b=>5})),
  	ok.
  
  map_guard_sequence_1(#{seq:=1=Seq, val:=Val}) -> {Seq,Val};
  map_guard_sequence_1(#{seq:=2=Seq, val:=Val}) -> {Seq,Val};
  map_guard_sequence_1(#{seq:=3=Seq, val:=Val}) -> {Seq,Val};
  map_guard_sequence_1(#{seq:=4=Seq, val:=Val}) -> {Seq,Val};
  map_guard_sequence_1(#{seq:=5=Seq, val:=Val}) -> {Seq,Val}.
  
  map_guard_sequence_2(#{ a:=3 }=M) -> {1, M};
  map_guard_sequence_2(#{ a:=4 }=M) -> {2, M};
  map_guard_sequence_2(#{ a:=X, a:=X, b:=4 }=M) -> {3,X,M};
  map_guard_sequence_2(#{ a:=X, a:=Y, b:=3 }=M) when X =:= Y -> {4,X,Y,M};
  map_guard_sequence_2(#{ a:=X, a:=Y }=M) when X =:= Y -> {5,X,Y,M}.
  
  
  t_guard_update(Config) when is_list(Config) ->
  