Reorder config loading