Working bubblesort and reverse.