added a step at the end of pipeline part2 to sort the extended hits by length