Dynamic click activity

I am having same name but different number in the given pop up the number position always changing but I have to click correctly the number 2 with corresponding name . Example:

Name1. 2. ✓

Name1. 3

Name1. 4

Name1. 5

Name1. 4

Name1. 3

Name1. 2. ✓

Name1. 5

Name1. 4

Name1. 3

Name1. 5

Name1. 2. ✓

The doubt is I have to select the number 2 and corresponding name but name will be always same , the number position is changing how to click dynamically when givien Number position changed any one help.pls

@BHUVAN

You can use innertext in your selector along with tag…and in in ertext use the exact value you want to click…even if position changes it will still click it properly

Cheers