There's no fixed order to doing the exams, although my school insisted on Air Law pre solo.
I did Air Law first as, quite simply, it's the most boring subject I've ever been examined on and wanted to get it out of the way before I started self-harming !!!
(although of course it's extremely important to know......
)