Optomized bubble sort!