The books solution, is definitely cleaner, and the biggest difference I can see is the books solution is actually sorting the variables, rather than just changing the display order. In terms of efficiency, displaying stuff to the console is more efficient than popping up message boxes.
A Dr. Sharmila Anandasabapathy, MD , Gastroenterology, answered on behalf of The Mount Sinai Health System. Colon cancer is very curable and survivable provided detection is early. In this video, Sharmila Anandasabapathy, MD, a gastroenterologist, explains that later detection can result in lower survivability rates.
Kelly also says that early detection and treatment of a low-grade glioma, a certain type of brain tumor, greatly increases the chances of curing the tumor. However, once such tumors evolve and become symptomatic, they are often incurable, with treatment lengthening survival from 17 weeks to about one year.