rearrange lines in manifest