Address sorting by Tour API is not proper comparing to map preview

The map shows the sorting order(the number) which we got from RouteXL and on map its show different as the addresses are very close to visit but the order was wrong from Tour API.