anchor.diff:  gen_hash_node({_OldHash, Count, _LCnt, Bucket, Interval, [] = Childs},
                 _InnerHf, LeafHf, true, CleanBuckets) ->
       % leaf node, no bucket contents, keep_bucket true
  -    Bucket1 = lists:ukeysort(1, Bucket),
  +    Bucket1 = lists:keysort(1, Bucket),
       Hash = run_leaf_hf(Bucket1, Interval, LeafHf),
       {Hash, Count, 1, ?IIF(CleanBuckets, [], Bucket1), Interval, Childs}.
   
  
positive.code: %%      values yet (use gen_hash/1 for that).
  -spec bulk_build(Interval::mt_interval(), KeyList::mt_bucket(),
                   Params::mt_config_params()) -> MerkleTree::merkle_tree().
  bulk_build(I, KeyList, Params) ->
      Config = build_config(Params),
      [Root] = build_childs([{I, length(KeyList), KeyList}], Config, []),
      {merkle_tree, Config, Root}.
  
negative.code:                   {nil, Count, 1, Bucket, Interval, []};
                true ->
                    % need to hash here since we won't keep the bucket!
                    Bucket1 = lists:keysort(1, Bucket),
                    Hash = run_leaf_hf(Bucket1, Interval, Config#mt_config.leaf_hf),
                    {Hash, Count, 1, [], Interval, []}
             end,
      build_childs(T, Config, [Node | Acc]);
  