Python 3.x Program to Sort Ninja Books