Question: what order are elements in?
Answer: There's something called Hill System. This is the system of writing chemical formulas. In this system the carbon atoms are first, then hydrogen atoms and then other in alphabetical order. When the formula contains no carbon or hydrogen atoms, then all the elements are sorted alphabetically.