adding dictionary_sort_array.rb