Make sure table totals are always at end