Pregunta de entrevista de J.P. Morgan

Write a function that uses bubble sort to sort an array