GE Vernova interview question

They asked about sorting algorithms and code for bubble sort