The "Learned..." message comes from the server when new tech is granted to the player. "You found..." (from a hut) comes from a ruleset lua script. Changing their order is not trivial as with the current lua scripting API the script doesn't know what is the tech player is getting before calling owner:give_tech() that both gives the first message and returns the tech to the lua script.
When you discover a new technology from a hut, your messages say:
Learned Ceremonial Burial. Our scientists focus on Alphabet; goal is Monarchy You found Ceremonial Burial in ancient scrolls of wisdom
It makes more sense if those messages are the other way round.
Also, I suppose, there is an inconsistency in who is giving messages: a government advisor or "the game". Maybe it should be "We found Ceremonial Burial", not "You found..", since it is "our" scientists who are now researching Alphabet.