greedy operator order