Bubble Sort

    Bubble Sort

     for i=0 to N 

         for j=0 to N-i-1

             if(Array[j]>Array[j+1])

                 swap(Array[j],Array[j+1])

             end if

         end for

     end for