Rather than lining all of them vertically, Meredith Mara stacks some of her books horizontally. The method actually allows her to put more books onto her shelves, as she's making use of all the available space that she can.
Plus, the books are separated by color, making the shelves even easier to navigate.