@NonNull abstract fun withSortBy(sortBy: SortBy!): IAlongRouteSearchQuery
Sorts the returned results by the provided criteria. If the method is not called, the results by default are sorted using the distance criteria.
sortBy
- SortBy!: The enum indicating the sorting criteria.
Return
IAlongRouteSearchQuery: The builder of the query with a new value for sortBy.