title: Sort map by value
body: <p>I have <code>List[(String,String)]</code> and I need to sort them by the 2nd value and return a map</p>
  
  <p>I have done the following:</p>
  
  <pre><code>val newMap = list.sortBy(_._2).foldLeft(Map.empty[String, String]) {
        (map, key) ⇒ map + (key._1 → key._2)
      }
  </code></pre>
  
  <p>list is a <code>List[(String,String)]</code></p>
  
  <p>However the returnning map isn't sorted!! </p>