   question on the insertion sort algorthm
  alright i got the algorthim to work correctly  but it if have an array declared like soint array[10]={10,9,4,5,6,7,0,0,0,0};after its done running the sort it starts from the last index and sorts from their, i want it to put the elements in order starting at the first index  
  show us your algorthim   