Fixed a typo in TitleID sorting script