Submission Status: Passed
Submitted for: February 17 - How to Sort the Keys of a Hash in Ruby
Submitted at: August 01, 2017
def key_sorter hash hash.keys.map(&:to_s).sort_by do |item| item.length end end
devCamp does not support ancient browsers.
Install a modern version for best experience.