fix col sort, add col to row dict, and initialize session rework