IBM interview question

Write a program for bubble sorting