check in sortAndDedup application (no dedup yet) and spin out comparators and projection operators to millipede project