Hi,
The first point is start, the last one is end. If I understeand you clear you wants to optimize the sequence of the waypoints ?
I do recall someone wrote something for it using mappoint and it was on this forum, but it seems I lost the URL. However I'm not 100% sure, could be I confusing with multiple routes..
Please try a search on this forum. If I find the url of his demo I come back to you I promize
