Books sorting implemented