sort signals in stack plots, some minor plotting cleanup