Sort imports per PEP 8

Change-Id: I0b32d11ba4bad1345d535b54de121fdcf15083d0
Fix #1552: Add dependency checking to document.

This doesn't fix the secondary fonts issue, but does
at least ensure that the called programs are on path.

Change-Id: I06799791f50c6d86d6320b13d115edfb9bb0cd5a