SAS Interview Question

Write a bubble sort function.