Avoid monkey-patching Hash by creating a Chef::Tsorter helper class