mergesort and finished tagger