Microsoft Interview Question

sort the arrays by using bubble sort