List modules in dependency order