title: List Elements manipulation
body: <p>Suppose I have a list, </p>
  
  <pre><code>['1-2', '1-3', '2-1', '3-2', '3-3', '6-1', '5-1', '4-1', '8-3', '8-2', '7-1', '9-1']
  </code></pre>
  
  <p>I need to output the unique elements, suppose if 1-2 and 1-3 are there, I need to output only 1 of the instance and these should be in sorted order without a -.</p>
  
  <p>Sample output :</p>
  
  <pre><code>1 2 
  2 1
  3 2
  4 1
  5 1
  6 1
  7 1
  8 2
  9 1
  </code></pre>