Re: [Rd] Part of fastpass in 'sort.list' can make sorting unstable

2018-04-09 Thread luke-tierney
Thanks -- fixed in R-devel and R-3-5-branch. luke On Fri, 6 Apr 2018, Suharto Anggono Suharto Anggono via R-devel wrote: In the code of functions 'order' and 'sort.list' in R 3.5.0 alpha (in https://svn.r-project.org/R/branches/R-3-5-branch/src/library/base/R/sort.R), in "fastpass, take

Re: [Rd] Part of fastpass in 'sort.list' can make sorting unstable

2018-04-06 Thread Gabe Becker
Thanks for catching this. This is easy to take out without touching the rest of the machinery. It also wouldn't be too hard to write a still-faster-but-not-quite-as-much-path which correctly reverses the sortedness of a sorted vector that includes ties. My suspicion, without being the one who will