title: How I can delete duplicates in a Object list by date in Kotlin with collection operators?
body: <p>I have a object list with the same id, then, i want to keep the one with the most recent date, and the delete the other with the kotlin collection operators. For Example I have :</p>
  
  <pre><code>{"id":111,
   "date":"02/12/2017"
   }
  </code></pre>
  
  <p>and the other</p>
  
  <pre><code>{"id":111,
   "date":"02/8/2018"}
  </code></pre>
  
  <p>In this case, i would like to delete the first object.</p>