10405 Implement ZFS sorted scans
illumos/illumos-gate@a3874b8b1fe5103fc1f961609557c0587435fec0
https://github.com/illumos/illumos-gate/commit/a3874b8b1fe5103fc1f961609557c0587435fec0
https://www.illumos.org/issues/10405
The original implementation is: https://github.com/zfsonlinux/zfs/commit/d4a72f23863382bdf6d0ae33196f5b5decbc48fd
Author: Toomas Soome <tsoome@me.com>