anchor.diff:  							CSI Type
   						</a>
   					</th>
  -					<%        } else if (sAttr.equals("CSI Definition")) { %>
  -					<th class="rsCell" method="get">
  -						<a href="javascript:SetSortType('def')" onHelp="showHelp('html/Help_SearchAC.html#searchResultsForm_sort',helpUrl); return false">
  -							CSI Definition
  -						</a>
  -					</th>
  -					<%        } else if (sAttr.equals("Permissible Value")) { %>
  +					<%        } else if (sAttr.equals("CSI Definition")) { 
  +					
  +						     defExists = true;
  +					         defIndex = i;
  +					
  +					       } else if (sAttr.equals("Permissible Value")) { %>
   					<th class="rsCell" method="get">
   						<a href="javascript:SetSortType('permValue')" onHelp="showHelp('html/Help_SearchAC.html#searchResultsForm_sort',helpUrl); return false">
   							Permissible Value
  
positive.code: 							VM Version
  						</a>
  					</th>
  					<%        } else if (sAttr.equals("VM Description")) { %>
  					<th class="rsCell" method="get">
  						<a href="javascript:SetSortType('MeanDesc')" onHelp="showHelp('html/Help_SearchAC.html#searchResultsForm_sort',helpUrl); return false">
  							Value Meaning Description
  						</a>
  					</th>
  					<%        } else if (sAttr.equals("Meaning Description")) { %>
  					<th class="rsCell" method="get">
  						<a href="javascript:SetSortType('MeanDesc')" onHelp="showHelp('html/Help_SearchAC.html#searchResultsForm_sort',helpUrl); return false">
  							Value Meaning Description
  						</a>
  					</th>
  					<%        }   else if (sAttr == null || sAttr.equals("caDSR Component")) { %>
  					<th class="rsCell" method="get">
  						<a href="javascript:SetSortType('cadsrComp')" onHelp="showHelp('html/../Help_SearchAC.html#searchResultsForm_sort',helpUrl); return false">
  							caDSR Component
  
negative.code:         else
             k = vSelAttr.size();
  
         
          
          for (int i =0; i < vSelAttr.size(); i++) {
            String sAttr = (String)vSelAttr.elementAt(i);
  
  