reordering chapters so that subjects are at the end