Sort:  

The easiest way is to use coinmarketcap API