IBM Interview Question

List the sorting techniques. Logic behind bubble sort.