SAS interview question

Write a bubble sort function.