sorted_switch_list in spt calc