If you wanted to sort different data types, you would have to write a separate sorting function for each type.