Domanda di colloquio di Larsen & Toubro

Explain about bubble sort and it's working?