add line end '\n' in ip sort