I resolved the last comment for mistake. I try it to sort the legend, but in that moment I couldn't. I would like to combine the three graphs with facet, but it don't work. Yesterday, I saw that the correct option was fx / fy and sort was with sort: {fx: "-y"}.