update sort column type