Terminal command to get app switcher information?
Looking through the man index pages I was able to find a command that gives this information:

lsappinfo metainfo | grep bringForwardOrder


This lists the apps in the same order as the app switcher when invoked, along with the app ASN, which can be useful.