Force leading zeros in time to proper sorting