I am developing a route optimization app for deliveries and I currently have a list of 20 addresses sorted by distance. I am trying to call upon the first 10 addresses on that list so I can create two different routes. One route with the first 10 and a second route with the last 10. How might I go about separating this list?
This is what I currently have and it calls upon the entire list of addresses, I would just like to call upon the first 10 addresses.
Thank you