From what I understand, sort considers columns as independent when sorting and does not allow the type of combination you want.
Instead, you could just use indexing to a similar effect:
df[sortperm(max.(df.b, df.c); rev=true), names(df)]
From what I understand, sort considers columns as independent when sorting and does not allow the type of combination you want.
Instead, you could just use indexing to a similar effect:
df[sortperm(max.(df.b, df.c); rev=true), names(df)]