Is it possible to create a selection sort within an already existing selection sort? Let\'s say for instance I want to sort dogs by their tail length, and if two dogs have t