ITEMPERMREP: Permutations with repetition of dataset items

syntax: ITEMPERMREP(sel, item 1, item 2, item 3 ...)

returns each permutation (orderings) of the dataset comprising of items: item 1 ... item n. with the resultant set limited to <sel> selection of items from the original dataset. Repetition of dataset items is allowed.