Was looking for a way to quickly switch which column is being sorted depending on the active Virtual Library and saw this. I couldn't find an option to automatically activate a View upon switching to a particular Virtual Library instead of having to click the View Manager icon and changing the View from there, but I made a workaround using keyboard shortcuts and my mouse.
I set Previous View and Next View to Ctrl+1 and Ctrl+2, then added a Calibre profile to Logitech G Hub, created two macros that simulated the keypress for Ctrl+1 and Ctrl+2, then assigned those macros to my mouse's back and forward buttons. So whenever the Calibre window is active, I can click the back and forward button to switch Views. Thanks for making this plugin!