reversed sorted list so that first element is the greediest