title: Sorting an array in parallel using Streams
body: <p>I have written a program that sorts an array with multiple threads by splitting the array into equal chunks and sorting in individual threads with a bubble sort. I have then used a merging algorithm to combine the two arrays.</p>
  
  <p>I would like to compare this program to one which sorts an array using Streams. My question is if I pass an array into a stream how would I go about splitting, sorting and merging to execute the sort in parallel but through the use of parallel streams rather than creating my own threads/runnables etc.</p>
  
  <p>Any ideas?</p>