<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Alexis.<div><br></div><div>I tried your suggestion and for some reason it's not working, even when I create a sorting variable using 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 data file with the following command and it looked exactly like it should, so the sorting variable doesn't seem to have a problem:</div><div>df09[order(df09$f09as), ]</div><div><br></div><div>Any idea what could be going wrong?</div><div><br></div><div>Thanks again,</div><div>Joel</div><div><br></div><div></div></body></html>