added german date sorting algorithm