title: Sorting in Swift fails
body: <p>I want to sort my Dictionary itemDictionary which I defined as:</p>
  
  <pre><code>var itemDictionary  = [String: [Items]]()
  itemDictionary = itemDictionary.sorted { $0.0 &lt; $1.0 }
  </code></pre>
  
  <p>But then I'm getting following error code:</p>
  
  <blockquote>
    <p>Cannot assign value of type '[(key: String, value: [Items])]' to type '[String : [Items]]'</p>
  </blockquote>
  
  <p>Does anyone have an idea why this might be?</p>