You have 5 choices for the first in the lineup, 4 for the second, etc.
The total number of ways is the product of the different selection choices.
See also the contestant problem.
How many different ways can a teacher line up 5 students for lunch?
2 answers
180