Is there a way to quick sort a the elements of an array in an ArrayList and at the same time change the order of the ArrayList based on the array sorted without using the Co