Microsoft interview question

explain sort algorith