fixed stack overflow and bad sorting in cue list editor