Ordering your library exercise