# 排序优先级(从高到低): # 1. 利用率(降序) # 2. 总PCB数(降序) results.sort(key=lambda x: (-x['utilization'], -x['total_pcb']))