sorting empty end-date failure #30 #74