Java, Eclipse Collections, Open Source, Programming, Software Development.
to be used to simulate a Bag. Converting to a sorted List for Equality Test Using Eclipse Collections MutableList as a source type, we can convert the List to a sorted List using toSortedList. There is no SortedList type, so sorting doesn’t actually change the type, but toSortedList will create a