* changed mergesort from function to regular function