title: Sorting array with numbers without sort() method
body: <p>I'm learning Javascript and I'm stuck with an exercise I found in a tutorial, I think it was learn street.com... I have to sort an array with numbers without using the sort() method. Something like this:</p>
  
  <pre><code>numbers =[12,10,15,11,14,13,16];
  </code></pre>
  
  <p>I have tried a lot of things since this morning but I can't find how to do this. Anyone can help? I need explanations too, not only the answer!</p>
  
  <p>Thanks</p>
  
  <p>Oh and see what I have at this point:</p>
  
  <pre><code>function ordre(liste){
  var result=[];
  
  
  for(i=0; i&lt;liste.length; i++){
  
  for(j=0; j&lt;liste.length; j++){
          if(liste[i]&gt;liste[j+1]){
  
          }
      }
  
   }
  
   console.log( result );
  }
  
  ordre(nombres);
  </code></pre>