ssName('sortarrow')[0];
                if (sortElm !== null) {
                    if (sortDir === 0){
                        sortElm.innerHTML = "<img src='/_layouts/15/images/spcommon.png' class='ms-sortarrowup-icon'>";
                    } else {
                        sortElm.innerHTML = "<img src='/_layouts/15/images/spcommon.png' class='ms-sortarrowdown-icon'>";
                    }
                }
            }
        }
    }

    // Check if the properties array is empty. 
    // This can ha