Just reading posts on control surfaces for Sonar and thought I'd jump in here. AZslow3 has created a great preset for the UC33e (which I own), which covers basic functions (transport, volume faders, pan, send and gain for channel strips) as well as most of ProChannel functions. I also have a Frontier Tranzport, and together, they work brilliantly for Sonar.
I originally bought the two units to control Sonar years ago, but gave up when I couldn't get ACT working, and switched to Ableton Live and Maschine. But with the new combination I can use Sonar for comping, and run Maschine as a vst in Sonar for the Midi stuff; the only issue is that Sonar doesn't have elastic time stretching, so one can't change tempo on the fly (c'mon, Cakewalk, everyone else is incorporating Elastique - well, ok, Maschine needs to as well...) But one can always drag/drop an audio clip into Live, and it will match tempo perfectly.
Another severe limitation is the lack of support in Matrix for controllers like Launchpad....
IMO, Sonar is best thought of as a very advanced audio recorder (with its comping and Melodyne) for classical vocalists and instrumental musicians, but the other functions (e.g. Midi, beats, backing tracks) are done so much better by other programs (e.g. Maschine) that it is worth it to purchase one for everything else (e.g. a Maschine Mikro). And I think a preset for Mikro (and other Maschine controllers) might be possible, but Azslow3 would have a much better answer than I.
But if you can pick up a used UC33e and Tranzport, you'll find them a great solution... with AZslow3's preset.
https://reverb.com/item/3141994-evolution-uc-33e-silver