cue: rearranging output