DDF-960 - added configuration sorting on refresh

-also fixed the collection.reset issue