[IMP] Add sequence to tax chart template

fixes lp:1168948
fixes #393

Relying on the ordering by tax code is not sufficient,
as some tax declarations such as the Luxemburg one,
show tax case codes not ordered numerically.

Original fix courtesy Stefan Rijnhart (Therp).