Since you don't care about order, we will be talking about combinatorics.
Combinatorics compare the total objects (n), with the objects that we care about (r), and follows this general rule:
[tex]^{n}C_r = \frac{n!}{r!(n - r)!}[/tex]
Thus, let's substitute what we know. Our total number (n) is 9 pairs of jeans, but we only care about picking 4 pairs (r).
Substituting those in will yield:
[tex]^{9}C_4 = 126[/tex] different ways.