Oops… I forgot I'd customized the sort order of my custom type, so I actually do need to use a struct that can encapsulate two variables.
Don't have an account? You can sign up here