I have a custom state geographic address list of waypoints and a separate custom state text list of numeric values (which is meant to represent the sort order).
I don’t think that would work here. I’m talking about sorting one custom state, based on another separate custom state’s values. Both custom states would have the same length and number of values.
I’m building a delivery route optimization feature. An end user can add a list of addresses (waypoints) that they’d like to optimize the route for. So the addresses are not necessarily stored in the DB. Then I run the Google Routes API which returns the waypoint sort order. Ultimately, I’d like to sort the address custom state, by the sort order list returned by the API.