Reorders segments and adds nnumbered list