On Saturday, 9 December 2017 at 14:49:28 UTC, Seb wrote:
randomSample doesn't sort its returned range
Not by design, however, because it samples in the order that the elements appear, *if* those elements are already sorted (whether by design or explicately sorted), then the results of the randomsample are also implicitly already sorted ;-)