Rearranged the order of import statements.
This is (I believe) in accordance with the PEP8 Style Guide for Python Code.