<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Alexis,</div><div><br></div><div>I tried your suggestion and for some reason it's not working, even when I create a sorting variable that uses a single variable to sort on. Here's what I did:</div><div><br></div><div># Original version, which works fine. See first attached file below, which shows plot is clearly sorted by f09as.</div><div>seqIplot(df.seq09, border = NA, withlegend = "right", sortv=df09$f09as)</div><div><br></div><div># Create sorting variable</div><div>term.sort = order(df09$f09as)</div><div><br></div><div># Create plot again, using sorting variable. This version of the plot is unsorted. See second attached file.</div><div>seqIplot(df.seq09, border = NA, withlegend = "right", sortv=term.sort)</div><div><br></div><div>I checked the sorting variable by looking at what it does to the original data frame and it looked exactly like it should, so the sorting variable doesn't seem to have a problem. Here's the command I used for that: df09[order(df09$f09as), ]  </div><div><br></div><div>Any idea what could be going wrong? If it would help to look at the sequence object or data.frame I'm working with, I can send those.</div><div><br></div><div>Thanks again,</div><div>Joel</div><div><br></div><div></div><br><div></div><div></div></body></html>