Domanda di colloquio di Cognizant

What is the method behind bubble sort