permute package:histogram-fill

Constuct bin permutation from function.
Constuct bin permutation from table
Direct permutation of indices.