fixed bug in xmlDataRepository in method SortByDate