It is not a function of an operating system to categorize audio or MIDI plugins for Sonar. However, Sonar will give a list based on type if you use VST 3 plugins. You will need to do it yourself for VST 2.4.
Organizing plug-ins
Once you have more than a few plug-in effects and/or soft synths installed on your computer, you might want to
organize the way they appear in the various plug-in and synth menus that you use. The Cakewalk Plug-in
Manager is a powerful tool to organize your plug-in menus. Open the Plug-in Manager by using the Utilities >
Cakewalk Plug-in Manager command, and display the Plug-in Manager’s help file by pressing F1.
By default, plug-ins are sorted by categories such as EQ, Dynamics, Reverb, etc.