working on rebase datesortfunc
fixedsubtlely in rebase