Strongly disagree.
Galaxy > Galaxy 2 > 64 > Sunshine >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3D World
3D World was the most underwhelming non-NSMB Mario experience I have ever played. Meanwhile both Galaxies, 64, and Sunshine are phenomenal titles and Sunshine was the last of two open-world Mario games. It's been 13 years and Mario has only gotten more linear.
Bruh close but. Galaxy 2 > 64 > Sunshine > Galaxy >>>>>>>>>>>>>>>>>>>>>>>>>> 3D World.
May the gods give us the perfect mario 64 sequel someday to topple all other mario games.
Open World 3D Mario is the best Mario but Galaxy 2 was a perfect form of linear 3d mario and I could still see there being a better version of the n64 mario formula being done.