MDOLLS (greedy, sorting)