fixed the sort for mergesort.  changed from count and fixed bound condition on loops