Generates all combinations of the items of a container in lexicographic sort order