counting sort + merge sort updates