"Comparison method violates its general contract!" when soring some arrys

Description

Consider the following code designed to shuffle (randomize) the elements in the array.

When run, it will throw the following exception which appears to be coming from Java:

Environment

None

Assignee

Michael Offner

Reporter

Brad Wood

Priority

New

Labels

None

Fix versions

None

Affects versions

Configure