presort on mapper side
improve testing