you can't do sortBy random, it is not stable.  You need to do something like:
```scala
lazy val rand = new Random(seed)
IterablePipe(iterable.map((rand.nextDouble, _)).toList.sorted.take(size), fd, mode)
```