Alphabetize module definitions

Except for “app”, which is at the bottom