I have a CSV file thats 300MB and has over 1/2 million entries. I want to run reports and make these reports available for download.
Here\'s the data structure:
I'm making one liners today, and Solr seems like overkill. Here's one to solve your problem (assuming no header row):
sort -t\; -k2 < test.csv | head -50
Add -n if you need the second field sorted numerically instead of alphabetically.