Generate all combinations of given list of elements, sorted
Jelly, 1 byte

ṗ


TryItOnline

Cartesian power built-in atom, as a dyadic link with left argument the items and right argument the count, or as a full program with first argument the items and second argument the count.