NYCCHKBK-4059. fixed sorting issue for grid views