How many eight-bit strings have exactly three $1$’s?
The answer is $8\choose 3$. Since we count subsets here, how can we set up a one-to-one correspondence between any $8$bit list with only three $1$s and some set? Consider the list $11100000$. Can we set up a correspondence like $11100000 \leftarrow \rightarrow \{123\}$ where the elements of the set are the numbers of the positions of ones? Since the $i$th position is fixed and named it doesn't matter if it comes before $i +1$th position in the set or after $i - 1$th position in the set, that is, $\{123\} = \{213\} = \{312\}$. All this is to say that we are allowed to encode a list as a set according to the rule above. Does that make sense?