I would like to sort a series of structs based on the values of their variables. Below is a hypothetical program, by no means complete, that is an attempt to illustrate this