the algorithm is called Dijkstra (shortest path).
as said, the List you showed is Not Complete.
you need to show which Waypoint connects to another Waypoint (from pt.A -> pt.B)
you need the distance(or time) from Point X to Point Y.

there is similar discussion here:
Route Planning - shortest path | Access World Forums (access-programmers.co.uk)

the Original file is in here:
GitHub - stahamtan/shortest-path-vba: Dijkstra's shortest path Algorithm - written in VBA (OOP)