Sergei skated around an ice rink, gliding along different paths. The gray lines in the figures below show four of the paths labeled , , , and . What is the sorted order of the four paths from shortest to longest?
Q, R, P, S
R, P, S, Q
P, Q, R, S
S, Q, R, P
Q, P, R, S