OIT interview question

How does insertion sort work?