sealerate
sealerate copied to clipboard
Provide a List version of "values" / "collect"
Sometime, we really want to order the objects and so get a List, not a Set, for values.
Of course there is always way to provide an ordering and do "values[XX].toList.sortBy" (or other sort methods). But in a vast majority of cases (on my anodectal side of things), the order is just giving the object the same order as the one they are defined (without the warranty to have a total ordering of not missing some object during refactoring).