add PartialSort by Nino Antulov-Fantulin, Matej Mihelcic, modified to use C5 IntervalQueue