Added new data structures and sorts.