Sort Data with Python : <p>I am totally new in Python and I have a snippet of my code below</p>

<pre><code>class student:
    def __init__(stu, code, name, number):
        stu.code = code
        stu.name = name
        stu.number = number    

student = [
stu("901", "Joh Doe", "123456")
stu("902", "Mary Mount", "566665")
stu("903", "David Lee", "394624")
]
</code></pre>

<p>I would like to sort the last data below from Highest to Lowest, may i know how to do it?</p>

<p>From:</p>

<pre><code>901         Joh Doe            123456
902         Mary Mount         566665
903         David Lee          394624
</code></pre>

<p>To:</p>

<pre><code>902         Mary Mount         566665
903         David Lee          394624
901         Joh Doe            123456
</code></pre>

<p>Really appreciate your kind help
Thanks</p>
