Add method to include sort order in the config data