Algorithmic Approaches to Sorting Out Your Bookshelf