change text to ‘sort’ instead of ‘create’ since we are modifying an existing file