JPM/HM: Fixed MyCollector to take into account that segments are visited unordered.

Renamed MyCollector to OaiSortingCollector