Bubblesort directory