title: How to get the 10 highest values from a CSV file using Python without Pandas
body: <p>I have a CSV file, and I turn this file into a dictionary using the DictReader from the CSV library.</p>
  
  <p>My code is like that:</p>
  
  <pre class="lang-py prettyprint-override"><code>with open('file.csv', 'r') as file:
          reader = csv.DictReader(file)
          highest = sorted(reader, key=lambda x: (x['value']))
          print(highest)
  </code></pre>
  
  <p>But this is don't working and the list <code>highest</code> have all the data from the CSV and I only want the 10 highest values. But I don't know how to use limit the list to receive only the 10 highest values using dictionary.</p>
  
  <p><strong>I can't use Pandas</strong></p>