removed duplicate sorting of ticks