A robot is programmed to traverse different routes within a rectangular enclosure. The gray lines in the figures below show four of the routes labeled , , , and . What is the sorted order of the four routes from shortest to longest?
X, Y, Z, W
W, X, Y, Z
X, W, Y, Z
Y, Z, W, X
Z, W, Y, X