DDF-961 - added configuration sorting on refresh

-also fixed the collection.reset issue