implement cache columns for sorting