title: Ruby: Make strings from objects given the sort as a value
body: <p>Looking for some insight on how to go about creating a string in a new object given the sorted values for each id.</p>
  
  <p><strong>Given data:</strong> </p>
  
  <pre><code>[
   {"id":14, "sort":1, "content":"9"},
   {"id":14, "sort":4, "content":"5"},
   {"id":14, "sort":2, "content":"1"},
   {"id":14, "sort":3, "content":"0"},
   {"id":15, "sort":4, "content":"4"},
   {"id":15, "sort":2, "content":"1"},
   {"id":15, "sort":1, "content":"3"},
   {"id":15, "sort":3, "content":"3"},
   {"id":16, "sort":1, "content":"8"},
   {"id":16, "sort":3, "content":"4"},
   {"id":16, "sort":2, "content":"4"},
   {"id":16, "sort":4, "content":"9"}
  ]
  </code></pre>
  
  <p><strong>Desired Output:</strong></p>
  
  <pre><code>[
   {"id":14, "concated_value":"9105"},
   {"id":15, "concated_value":"3134"},
   {"id":16, "concated_value":"8449"}
  ]
  </code></pre>