I have an array of double values that I need it to besorted, from high to low, is there any method in javathat can do this, I tried Array.sort(arr) , but itchanges my values in the array to 0.Do we have a quick sort algorithm written in java.