ninja book sorter program