Added a array to recieve the sorted array
Passes the number of threads to the Sorter