Example 18 :: allow for duplicate values in sort