Consistently use the U(ngreedy) flag in the 'img-reorder' filter