title: How to insert new value into ordered hash after given element?
body: <p>I want to use ordered hash.</p>
  
  <pre><code>existing_hash = { key: value1, foo: value2 }
  
  I want add { bar: value3 } after key 'key:'
  expecting_hash = { key: value1, bar: value3, foo: value2 }
  </code></pre>
  
  <p>My code:</p>
  
  <pre><code>existing_hash[:bar] = value3
  actual_hash =  { key: value1, foo: value2, bar: value3 }
  </code></pre>