J.P. Morgan Interview Question

Write a function that uses bubble sort to sort an array