anchor.diff:  
   t_bif_map_to_list(Config) when is_list(Config) ->
       [] = maps:to_list(#{}),
  -    [{a,1},{b,2}] = maps:to_list(#{a=>1,b=>2}),
  -    [{a,1},{b,2},{c,3}] = maps:to_list(#{c=>3,a=>1,b=>2}),
  -    [{a,1},{b,2},{g,3}] = maps:to_list(#{g=>3,a=>1,b=>2}),
  -    [{a,1},{b,2},{g,3},{"c",4}] = maps:to_list(#{g=>3,a=>1,b=>2,"c"=>4}),
  -    [{3,v2},{hi,v4},{{hi,3},v5},{"hi",v3},{<<"hi">>,v1}] = maps:to_list(#{
  -	    <<"hi">>=>v1,3=>v2,"hi"=>v3,hi=>v4,{hi,3}=>v5}),
  -
  -    [{3,v7},{hi,v9},{{hi,3},v10},{"hi",v8},{<<"hi">>,v6}] = maps:to_list(#{
  -	    <<"hi">>=>v1,3=>v2,"hi"=>v3,hi=>v4,{hi,3}=>v5,
  -	    <<"hi">>=>v6,3=>v7,"hi"=>v8,hi=>v9,{hi,3}=>v10}),
  +    [{a,1},{b,2}] = lists:sort(maps:to_list(#{a=>1,b=>2})),
  +    [{a,1},{b,2},{c,3}] = lists:sort(maps:to_list(#{c=>3,a=>1,b=>2})),
  +    [{a,1},{b,2},{g,3}] = lists:sort(maps:to_list(#{g=>3,a=>1,b=>2})),
  +    [{a,1},{b,2},{g,3},{"c",4}] = lists:sort(maps:to_list(#{g=>3,a=>1,b=>2,"c"=>4})),
  +    [{3,v2},{hi,v4},{{hi,3},v5},{"hi",v3},{<<"hi">>,v1}] =
  +	lists:sort(maps:to_list(#{<<"hi">>=>v1,3=>v2,"hi"=>v3,hi=>v4,{hi,3}=>v5})),
  +
  +    [{3,v7},{hi,v9},{{hi,3},v10},{"hi",v8},{<<"hi">>,v6}] =
  +	lists:sort(maps:to_list(#{<<"hi">>=>v1,3=>v2,"hi"=>v3,hi=>v4,{hi,3}=>v5,
  +				  <<"hi">>=>v6,3=>v7,"hi"=>v8,hi=>v9,{hi,3}=>v10})),
   
       %% error cases
       {'EXIT', {badarg,_}} = (catch maps:to_list(id(a))),
  
positive.code: 
      %% literally #{ "hi" => "value", a=>33, b=>55 } in the internal order
      #{ a:=33, b:=55, "hi" := "value"} = erlang:binary_to_term(<<131,116,0,0,0,3,
  	107,0,2,104,105, % "hi" :: list()
  	107,0,5,118,97,108,117,101, % "value" :: list()
  	100,0,1,97, % a :: atom()
  	97,33, % 33 :: integer()
  	100,0,1,98, % b :: atom()
  	97,55  % 55 :: integer()
  	>>),
  
  
  
negative.code:     A   = maps:from_list([]),
      0   = erlang:map_size(A),
  
      #{a:=1,b:=2}      = maps:from_list([{a,1},{b,2}]),
      #{c:=3,a:=1,b:=2} = maps:from_list([{a,1},{b,2},{c,3}]),
      #{g:=3,a:=1,b:=2} = maps:from_list([{a,1},{b,2},{g,3}]),
  
  