title: Java: Arrays.sort quicksort and mergesort
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3707190/why-java-arrays-use-two-different-sort-algorithms-for-different-types">Why java Arrays use two different sort algorithms for different types?</a>  </p>
  </blockquote>
  
  
  
  <p>So I was reading the Arrays <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Arrays.html" rel="nofollow noreferrer">doc</a> on the various sort implementations. What I noticed was that some of the implementations used a tuned quicksort while others used a modified mergesort. Why the discrepancy?</p>
  
  <p>Thanks!</p>