i have a sealed class with two subtypes for which ...
# stdlib
j
i have a sealed class with two subtypes for which i'm trying to make comparable. i want the common property to dictate sort, then subtype, then the subtype properties. is there an easy way to do this with the comparator chain creation functions?