Marc Bernard a écrit : > I know that for one variable X one may use: > df[order(df$X), ] where df is the data frame containing X. probably not optimal, but simply why not ? dfX = df[order(df$X), ]; dfXY = dfX[order(dfX$Y), ]; hih