title: How can sort an array without using sort() function in php?
body: <p>I'm trying to sort an array without using sort() function of php. I have tried so far and also google but unable to find result.</p>
  
  <h2>What I Need exactly</h2>
  
  <pre><code>$arr = array(80, 90, 100, 10, 50, 3);
  </code></pre>
  
  <p>I want to sort this array in ascending. i can do it using sort() function but I want to do without using sort() function.</p>