void main() {
    ArrayList<Integer> scores = new ArrayList<>(List.of(88, 92, 79));
    ArrayList<Integer> result = Collections.sort(scores);
}

// From Groundwork, chapter 7 (ch07-arrays-and-lists), box 17.
// This example is from Groundwork, licensed CC BY-NC-SA 4.0.
// Run with: java ch07_17.java
// This fails on purpose: it does not compile—What Collections.sort gives back is stored in a variable, which javac refuses: it gives back nothing. The error message is the lesson.
