Curses, I’m wrong. That is a python-only example set. It just had a sketch at the beginning that also looked like Java.
It looks like there is no mechanism for marking example sets by mode. And examples show up even in the wrong mode example window! Your marked subfolder idea might be the best one.