arry sort task(bubble sort)