validate sort col index