Mostly finished checkout. Displayed tables can be sorted by clicking column title.