LegacyCompareEqual

Legacy comparison operators. Note that these also test whether the map's key-value pairs were added in the same order!