Tekion interview question

Binary Sort Logic. Sorting Logic. Bubble sort.