the strings order in guitar neck is reverse,
the thinnest string is the first string (the high E string), and it counts up from there to the thickest string (the low E string).
e.g.
E A D G B E
A = 5th string
D = 4th string
G = 3rd string
B = 2nd string

best regards