Answer:
120 different ways
The total number of ways to do this is the product because of the fundamental counting principle[1]. So 5x4x3x2x1 = 5! (read as “5 factorial”[2]) = 120 different ways to line up those 5 people. Five people lining up essentially means 5 people sorting into 5 positions.