Relativity Space Interview Question

In Python, create a sorting function given a list of class objects called Song from greatest number of listens, to least amount of listens. Song has the attributes Song_ID and Num_Listens.