Most of the changes revolve around unifying the sorting methods for a collection with `Comparable` elements with sorting methods that take an external `Comparator` by passing `Comparator.naturalOrder()` from the former to the latter. This eliminates method duplication and some warnings suppressions.
Note that I get 1 failing test: VersionInfoTest.testMajorVersion. This PR is unrelated to this test. ------------- Commit messages: - Initial commit Changes: https://git.openjdk.org/jfx/pull/1041/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1041&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8302816 Stats: 248 lines in 5 files changed: 27 ins; 125 del; 96 mod Patch: https://git.openjdk.org/jfx/pull/1041.diff Fetch: git fetch https://git.openjdk.org/jfx pull/1041/head:pull/1041 PR: https://git.openjdk.org/jfx/pull/1041