stack (v.) Look up stack at Dictionary.com
early 14c., "to pile up grain," from stack (n.). Meaning "arrange unfairly" (in stack the deck) is first recorded 1825. Stack up "compare against" is 1903, from notion of piles of poker chips (1896). Related: Stacked; Stacking.
stack (n.) Look up stack at Dictionary.com
c.1300, "pile, heap, or group of things," from Old Norse stakkr "haystack" (cf. Danish stak, Swedish stack "heap, stack"), from Proto-Germanic *stakkoz, from PIE *stognos- (cf. Old Church Slavonic stogu "heap," Russian stog "haystack," Lithuanian stokas "pillar"), from root *steg- "pole, stick" (see stake (n.)). Meaning "set of shelves on which books are set out" is from 1879. Used of the chimneys of factories, locomotives, etc., since 1825.