Local origin issue?

OK, so been working on some foliage for a game. One thing I noticed was my Z and Y dimensions seemed to be reversed. I finally checked local origin and my Y was pointing up. Is this the reason my dimensions are switched? Is there a fast way to get Z pointing up instead of having to rotate my mesh around in edit mode? Like is there some make local match global origin button, LOL.

Could try applying rotation if you haven’t done so already (ctrl+A in object mode)

yeah, that fixed it. I applied my scale ,but didn’t apply rotation.