Write a program for sort a database table.

import MySQLdb

db=MySQLdb.connect(‘localhost’,’pardeep’,’pardeep321′,’temp’)
curs = db.cursor()

sql = “select Sr_no,First_name,Last_name,AGE,SEX,INCOME,CAST from employee order by AGE DESC”
curs.execute(sql)
db.commit()