title: I want to write a function that takes a list and returns in ascending order with out using the sort built in function
body: <p>I have tried this, but the problem is i dont know how to make the program compares each element with list to determine its order</p>
  
  <pre><code>a= [1,4,8,2,210,3]
  def sorting(L):
  for i in L:
      if i[0]&lt;:
          print i[0]
  sorting(a)
  </code></pre>