Fix sortThangComponents corner case in course levels with Plans attaching twice
Fix sortThangComponents corner case in course levels with Plans attaching twice

Fixes https://app.asana.com/0/54276215890539/62515742172177/f

icodegame/codecombat,bsmr-x-script/codecombat,laituan245/codecombat,jacobakkerboom/codecombat,jeremiahyan/codecombat,icodegame/codecombat,javatlacati/codecombat,javatlacati/codecombat,jacobakkerboom/codecombat,differentmatt/codecombat,VilkkuV/codecombat,MonkStrom/codecombat,codecombat/codecombat,nimda7/codecombat,Minhir/codecombat,kidaa/codecombat,laituan245/codecombat,differentmatt/codecombat,khoa102/codecombat,bsmr-x-script/codecombat,zhangxiuquan/codecombat,Zerrien/codecombat,jhoon/codecombat,kidaa/codecombat,weevilgenius/codecombat,differentmatt/codecombat,jeremyprice/codecombat,duybkict/codecombat,tpai/codecombat,Zerrien/codecombat,khoa102/codecombat,Minhir/codecombat,MonkStrom/codecombat,jeremiahyan/codecombat,fabichoi/codecombat,VilkkuV/codecombat,edtrist/codecombat,wgsu/codecombat,probil/codecombat,fabichoi/codecombat,probil/codecombat,wgsu/codecombat,wgsu/codecombat,jeremyprice/codecombat,codecombat/codecombat,jacobakkerboom/codecombat,bsmr-x-script/codecombat,probil/codecombat,Zacharias030/codecombat,javatlacati/codecombat,aashaka/codecombat,UltCombo/codecombat,aashaka/codecombat,UltCombo/codecombat,jeremiahyan/codecombat,tpai/codecombat,khoa102/codecombat,jeremyprice/codecombat,edtrist/codecombat,weevilgenius/codecombat,UltCombo/codecombat,javatlacati/codecombat,Zacharias030/codecombat,differentmatt/codecombat,fabichoi/codecombat,MonkStrom/codecombat,icodegame/codecombat,aashaka/codecombat,jeremyprice/codecombat,Zerrien/codecombat,duybkict/codecombat,edtrist/codecombat,VilkkuV/codecombat,javatlacati/codecombat,duybkict/codecombat,kidaa/codecombat,laituan245/codecombat,tpai/codecombat,jhoon/codecombat,Minhir/codecombat,Zacharias030/codecombat,jacobakkerboom/codecombat,Zacharias030/codecombat,duybkict/codecombat,fabichoi/codecombat,edtrist/codecombat,zhangxiuquan/codecombat,icodegame/codecombat,nimda7/codecombat,laituan245/codecombat,weevilgenius/codecombat,tpai/codecombat,jhoon/codecombat,khoa102/codecombat,nimda7/codecombat,bsmr-x-script/codecombat,zhangxiuquan/codecombat,Zerrien/codecombat,codecombat/codecombat,codecombat/codecombat,nimda7/codecombat,jhoon/codecombat,zhangxiuquan/codecombat,MonkStrom/codecombat,aashaka/codecombat,wgsu/codecombat,jeremiahyan/codecombat,weevilgenius/codecombat,codecombat/codecombat,VilkkuV/codecombat,UltCombo/codecombat,Minhir/codecombat,kidaa/codecombat,probil/codecombat