Cognizant interview question

What is heap sort?