equals

open operator override fun equals(other: Any?): Boolean

the shouldBeSorted flag has no bearing on equals!