Can someone explain me in simple terms, why does this code throw an exception, \"Comparison method violates its general contract!\", and how do I fix it?
pri
Editing VM Configuration worked for me.
-Djava.util.Arrays.useLegacyMergeSort=true