How about each post has an ID that queries the SQL teeburu and prints givenName and familyName in order according to client preferences?
Cons include a lot of queries per page load and it might be very intensive for nenmin's server-chan.
Perhaps you could have an implementation with php $_GET but it would have to be updated everytime someone posts and isn't much better.
Perhaps the best solution would be if the server had a default naming order and then the swap was processed client-side through JS or something!
I'm sorry, I'm still learning so I don't really know much about it. Sorry for my bad ideas.