Fix several issues: sort collection when processing cron job (see code c...

...omments for more explanation). In the data helper, getting the configuration provide errors when saving a store view from the backend (the variable $configscope is an array in this case), fix a bug while saving configuration from the backend in case of default store view