Thanks Xavier, Hadley, and Thierry! The problem was indeed unsolvable in a previous version of ggplot, but in the latest one sorting by levels has worked. Best wishes Mikhail
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

