title: Easiest to use int array sorting function in C
body: <p>I am looking for easiest to use array sorting function in C. I am going to teach somebody little bit of C(actually these are common basics to every language). Is there any function for int arrays like Java's</p>
  
  <pre><code>Arrays.sort(arr);
  </code></pre>
  
  <p>I have seen qsort, but as I saw it needs additional compare function.</p>