sort settings keys, to ensure the same order for debugging and jcache comparisons