Extract sort function from Collection types
Author: bdurrerCreated Aug 28, 2023Updated Apr 10, 2025
Follow-up of #1888:
Map includes OrderedMap because of the sort function. Same with Set and OrderedSet. This leads to a circular dependency, which makes tree-shaking ineffective
Source: immutable-js/immutable-js