Parse config files in a sorted order.

Refs #5854