Descriptions of Brute and Smart sorting