little data re-ordering and tweak to min date