Name("NAMELAST")[0].childNodes[0].nodeValue;
                if (aCat > bCat) return 1;
                if (aCat < bCat) return -1;
                return 0;
            });
            x = xArray;

            if(x.length>0){
                //save selected values
                var sDDLval1 = document.getElementById(prefix + "ddlJudge").options[document.getElementById(prefix + "ddlJudge").selectedIndex].value;

                //clear existing dropdowns
                copyDDL("ddlJudge", "ddlJudgeSave")