DataSort implemented, division of line types currently broken. Substring exception.