Sorting data in alphabetic, highest to lowest order using CSV
Question: How to sort data in alphabetic, highest to lowest order in notebook document
created by python, using CSV? I have a maths quiz with saves results in
notebook but it is in random order. How to sort all this data using python?


Answer: 
    import numpy as np
    
    text_column_index = 0
    csv_has_header = True
    data = ...
    
    df = np.genfromtxt(data, delimiter=',', skip_header=csv_has_header)
    print df[np.argsort(df[:, text_column_index])[::-1]]
    

Fill out the parameters accordingly.

