merge tasks nicely depending on modified timestamp