Scientific Games Interview Question

Write out a bubble sort alogorithm in pseudocode or whatever language is prefer.