4 ms·Sure, but the overhead to iterate in insertion order is very small. Sorting by key is way more expensive.by yxhuvud 5y agoSure, but the overhead to iterate in insertion order is very small. Sorting by key is way more expensive.