Amika wants to buy 4 cupcakes from an infinite supply of three types of cupcakes: chocolate, vanilla & gems-laden. In how many different ways can she buy cupcakes, if :
(1) order of buying the cupcakes is important, and
(2) arbitrary order is permitted