Added SortClauses to string export