I'm also quite confused as the actual order of @vector according to the OP's @order would actually be (assuming 1 based indexes) 32, 46, 5, 27, 76, 102. This certainly isn't ordered numerically...
Update: From this post below, rank is a much better description than order. NetWallah++ for figuring this out.