The entries in the input map need to be sorted as well, as there's no guarantee that the entries (ConstStrings) will be inserted in the proper order.
The entries in the input map need to be sorted as well, as there's no guarantee that the entries (ConstStrings) will be inserted in the proper order.