Only the 15 inch 2015 model still had the Haswell CPU, therefore your laptop had a slightly newer processor... That [older] generation was left in the bigger model without the yearly upgrade due to the limited supply / production capacity on Intel's side.
I wholeheartedly agree. I finally moved to an M2 MBP in 2023. I regard the 2023 the same way I do the 2015. It was a worthy upgrade.
My only complaint is that Apple’s keyboards have become significantly less resistant to finger oils and staying on top of cleaning them is much more demanding than it used to be.
The 2015 and 2014 models weren't that great either since they were using old 4th gen Haswell Intel CPUs which ran super hot.