Updated merge sort generic array creation to use Comparable[]