Numetric Interview Question

Write a function that will perform a bubble sort.