Who was older between Hazrat Ali-Akbar A.S. And 4th Imam A.S. And their age at the battle of Karbala?

There is a historic discussion amongst scholars

Some believe Ali Akbar is older, he was 27 when he was martyred and Imam Sajjad was 24

Others say the opposite

As a student of Islam I believe the first opinion to be more likely as Akbar means the oldest

Allah knows best