Order texts by chapter (has a sorting bug)