1. 리스트 정렬 room.sort(key=lambda x: (x[0], x[1])) 2. 딕셔너리 정렬 auction = sorted(auction.items(), key=lambda x: (len(x[1]), x[0]))