Closed ghost closed 7 months ago
Consider something like
values := Collection.Vector->New()<Pair<String, IntRef>>;
values->AddBack(Collection.Pair->New("MC Eiht", 8)<String, IntRef>);
Last, hash tables are not designed to preserve order. This includes insert and sort order.
Yes, it doesn't sort everything like
Collection.Map
. But it doesn't preserve the order of the elements. I used afor
loop to initialize theHash
, so I know the order of the elements.