Spark Neuro interview question

Write a bubble sort from scratch.