Fixes #5309: We need a script to check ordering in techniques

Comments are removed at line 35 so we can have cleaner regex