hadley/ggplot2 — comment on commit 4203f765752adf31a58b5931edaa2d6cc2e2ac51
File: R/geom-path-.r line 39
By kohske:

`id = as.integer(factor(group))` breaks the order of the group, leading to the inconsistency between lines and aes (colour, size, etc). see #381