In my humble opinion, as much as I like 5e and its game balance, I wish the weapons table was a bit better designed. It is not easy for players to choose a weapon for flavor or style/concept, when some are clearly more efficient. I wish some choices were a bit more viable. What if a Fighter has the concept of dual-wielding daggers? If the all-around weak daggers had a compensating perk in 5e, it could be less of a sacrifice to make that choice (which probably no one does with current weapons stats).
In this case though 1d12 is not bad at all, but why did WotC make the greatsword have a better average damage ? 5e broke from the traditions of past editions, except for the weapons table.
Anyhow, it probably won't change anytime soon.
This is where the DM comes in. I mean, WotC could
have put in a 3-5 page weapon table with dozens of different options. Or the DM could allow differently-flavored weapons: rapier flavored as a katana, shortswords flavored as daggers, etc.
Daggers are kind of balanced. They have weak damage, but are finesse, thrown, and
light. No other weapons are all 3, so you've traded damage for versatility.
And the greataxe is better if you want larger-valued crits and/or if you can reroll a single weapon damage die (not sure if this is a real mechanic anywhere)