Are kotlin collections sort methods stable?


Can’t find any docs regarding stability of sorting methods. It seems JVM sorting is stable since it relies on java api which uses stable sorting for all non primitives.
JS is relying on browser implementation of Array.sort which is stable only on some browsers (IE, firefox)

Just spent a day fixing chrome only bug :slight_smile:


We haven’t documented the stability yet, because we hadn’t decided what should it be, see this issue: