book sorting by script and date