arrange order of dictionary according to setting