Banner Health interview question

What is the order by function used for in SQL?