RuntimeSort.java demonstrates how to use a comparator or implement comparable in conjunction with the sorted collections in the exam. It also demonstrates the ClassCastException runtime error you get if you use incorrect elements