side-by-side.
in a different dresser, though, I'd probably put the socks on top, since they weigh less than my underwear. my dresser is organized by weight -- light stuff like socks, underwear, and t-shirts toward the top, and heavy stuff like jeans and sweaters on the bottom.