Boostorder interview question

Something regarding algorithm and sorting.