sort chapters by number