I am supposed to write an algorithm for sorting a list. The list should be sorted by taillength. If two of the dogs on the list have the same taillength, they are supposed t