how can i generate the food deals in python

i have done the analysis on the Resturant data-set . now i want to generate the deals from the analysis 3 items in each deal.item which sale the most and item which sale the less should be placed in one deal. any one can please help me out.

You need to have a paired list, where each pair is the [food-item,sales].

Sort the list by sales, descending. The items at the front of the sorted list are the highest sales, the items at the end the lowest.