nullpointer fix - can't sort dailylogfolders if there are none