If you're looking for a replacement for Sonar that's almost an exact "feature-for-feature" equivalent, there isn't one.
There are numerous great DAW software choices.
No matter which you choose, there will be some areas that exceed Sonar... and others that fall short.
If more elaborate/esoteric MIDI features are paramount, then Cubase should be on your short-list.
Studio One has a clean UI with focus on drag/drop, gap-less audio engine, and a nice balance of audio/MIDI features.
If you're primarily working with audio, Samplitude's Object based editing is amazing.
I'd also checkout ProTools 2018. Over the past several years, Avid has been slowly refining and catching up with some of the better features available in other native DAWs.
Reaper is another amazing DAW application. The most CPU efficient of all DAW apps. Configurable almost to a fault.
Reaper is the closest DAW you'll find to one that's, "everything to everybody".
That amazing flexibility can be daunting at first... especially for those who are less DAW/tech savvy.
You'll be making a compromise no matter which you choose...
It's a matter of finding the best "compromise" for your situation.