Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Obviously
DTis still sorted byaaftersetorder; that's why the secondsetkeyhere only runssetattr(btw, we should report this is happening ifverbose = TRUE)The note in the code is:
So I guess it could be a conceptual question -- do we reset the key if the order has changed but the table is still sorted by the stated key?
This is particularly odd if I want to sort the last column in decreasing order. Is there any have
DTkeyed byabut guaranteedvis in decreasing order withina?