first init with bubble sort algorithm