Thank you for your response ,
but the ranking work in reverse in my case, the highest number comming first not the LOWEST
if you look on my screenshot “bug2.jpg” you see store_1 = rank = 1 (on the right column) store_2 = rank = 2 etc…
i use the sensor location to set the home position search (green marker) and from this point the store 1 and store 2 are closest but he show me the store 3 and 4 (bug3.jpg) (i limit to show only 2 result)
is not working as is should be or are doing something wrong ?
In the meantime a wish you a beautiful day