title: Sort tuple ListBuffer
body: <p>So i have this <code>ListBuffer</code> with 2 values: <code>String</code> and <code>BigDecimal</code>, after populate my <code>List</code> i want to sort it before print:</p>
  
  <pre><code>var data = new ListBuffer[(String, BigDecimal)]
  data+=(("se", 34))
  data+=(("sh", 4))
  data+=(("fjd", 33))
  data+=(("dhdh", 24))
  data+=(("dhd", 125))
  </code></pre>
  
  <p>And i wonder how to sort this according <code>BigDecimal</code> value so this is what i have try:</p>
  
  <pre><code>val list = data.map(x=&gt;x._2 &gt; x._2)
  </code></pre>