SortType public enum SortType : String Specifies the metric used for sorting the routes. duration Sorts by duration. Declaration Swift case duration length Sorts by length. Declaration Swift case length