added group (not working yet) to MergeSort