Reordered graph legends based on the order specified in question.rows in the admin backend. issue #11