first working version of grid sorter with static categories data