Parse config files in a sorted order. (WIP)

Refs #5854