Unordered and ordered sample from dirichlet distribution