Sort date and align count