Bug 1841591 Comment 2 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Please note also that for a sorted array `nsTArray<>::InsertElementSorted` can be used instead of `nsTArray<>::StableSort`, both preserve a stable order of equal elements.
Please note also that for an already sorted array `nsTArray<>::InsertElementSorted` can be used instead of `nsTArray<>::StableSort`, both preserve a stable order of equal elements.
Please note also that for an already sorted array `nsTArray<>::InsertElementSorted` can be used instead of `nsTArray<>::StableSort`, both preserve a stable order of equal elements but the first is faster.

Back to Bug 1841591 Comment 2