Below formula will list "PG","TPG" first, then the others (excl. "VI")
F112:
=IFERROR(IF(ROWS($1:1)<=COUNTIF($F$9:$F$109,"PG"),"PG",IF(ROWS($1:1)<=COUNTIF($F$9:$F$109,"PG")+COUNTIF($F$9:$F$109,"TPG"),"TPG",INDEX($F$9:$F$109,MATCH(0,COUNTIF($F$111:F111,IF($F$9:$F$109="VI","",$F$9:$F$109)),0)))),"")
Array formula, for Ex 2016 or earlier, confirmed with Ctrl-Shift-Enter
BTW, in G112, it seems like you want to check in 4 columns then returns "INSTRUMENT ID", below version should be more shorter and neater:
=IF(AND(F112<>"",OR(COUNTIF($Q$9:$Q$18,F112),COUNTIF($S$9:$S$18,F112),COUNTIF($U$9:$U$18,F112),COUNTIF($W$9:$W$18,F112))),"INSTRUMENT I.D:","")
Bookmarks