Sort returned variables to make sure `overflow` is last