index file gives the order, the content file includes index key word and content, make a new file resort the content according to index order.