added sorting

first run of mergeSort is ghetto, must update.