Checks one sort key against the input schema, stopping at its first problem: its column is named, in the input, and of a type that sorts (isSortableType). Exported so an editor can mark each row.