def METHOD_NAME(self):
    data = [
        (
            ['Steve', 'Ultron', 'Natasha', 'Rocket'],
            ['Natasha', 'Rocket', 'Steve', 'Ultron']
        ),
    ]
    error_message = 'The queue was not properly sorted.'
    for variant, (params, result) in enumerate(data, start=1):
        with self.subTest(f'variation #{variant}', input=params, output=result):
            self.assertListEqual(sorted_names(params), result, msg=error_message)