class Solution: def sortPeople(self, names: List[str], heights: List[int]) -> List[str]: return [names[heights.index(h)] for h in sorted(heights, reverse=True)]