Github issue #9: Order nodes in the priority queue by their tentative distance value.