Added alphabetic sort for selection elements and parsing of 3D elements in data