sortValue=='Name', 'font-style: italic', 'font-style: normal')}">
                        <apex:outputPanel layout="none" rendered="{!sortValue=='Name' && sortDir=='desc'}">&#x25B2;</apex:outputPanel>
                        <apex:outputPanel layout="none" rendered="{!sortValue=='Name' && sortDir!='desc'}">&#x25BC;</apex:outputPanel>
                        <apex:param name="sortField" value="Name" assignTo="{!sortField}"/>
                        <apex:param name="sortValue" value="Name" assignTo="{!sortValue}"/>
                    </apex:commandLink>
                </apex:facet>
                <apex:outputLink value="/{!agmt.id}">{!agmt.Name}</apex:outputLink>
            </apex:column>

            <apex:column >
                <apex:facet name="header">
                    <apex:commandLink value="Agreement Category " action="{!toggleSort}" rerender="results,debug" style="{!IF(sortValue=='Agreement Category', 'font-style: italic', 'font-style: normal')}">
                        <apex:outputPanel layout="none" rendered="{!sortValue=='Agreement Category' && sortDir=='desc'}">&#x25B2;</apex:outputPanel>
                        <apex:outputPanel layout="none" rendered="{!sortValue=='Agreement Category' && sortDir!='desc'}">&#x25BC;</apex:outputPanel>
                        <apex:param name="sortField" value="Apttus__Agreement_Category__c" assignTo="{!sortField}"/>
                        <apex:param name="sortValue" value="Agreement Category" assignTo="{!sortValue}"/>
                    </apex:commandLink>
                </apex:facet>
                <apex:outputField value="{!agmt.Apttus__Agreement_Category__c}"/>
            </apex:column>

            <apex:column >
                <apex:facet name="header">
                    <apex:commandLink value="Agreement Type " action="{
sortValue=='Name',' font - style: italic',' font - style: normal') } " > 
                         < apex: outputPanel layout="none " rendered="{!sortValue=='Name' & & sortDir=='desc'}">&#x25B2;</apex: outputPanel > 
                         < apex: outputPanel layout="none " rendered="{!sortValue=='Name' & & sortDir!='desc'}">&#x25BC;</apex: outputPanel > 
                         < apex: param name="sortField " value="Name " assignTo="{!sortField}"/ > 
                         < apex: param name="sortValue " value="Name " assignTo="{!sortValue}"/ > 
                     < /apex: commandLink > 
                 < /apex: facet > 
                 < apex: outputLink value="/{!agmt.id}">{!agmt. Name}</apex: outputLink > 
             < /apex: column > 

             < apex: column > 
                 < apex: facet name="header " > 
                     < apex: commandLink value="Agreement Category " action="{!toggleSort } " rerender="results, debug " style="{!IF(sortValue=='Agreement Category',' font - style: italic',' font - vogue: normal') } " > 
                         < apex: outputPanel layout="none " rendered="{!sortValue=='Agreement Category' & & sortDir=='desc'}">&#x25B2;</apex: outputPanel > 
                         < apex: outputPanel layout="none " rendered="{!sortValue=='Agreement Category' & & sortDir!='desc'}">&#x25BC;</apex: outputPanel > 
                         < apex: param name="sortField " value="Apttus__Agreement_Category__c " assignTo="{!sortField}"/ > 
                         < apex: param name="sortValue " value="Agreement Category " assignTo="{!sortValue}"/ > 
                     < /apex: commandLink > 
                 < /apex: facet > 
                 < apex: outputField value="{!agmt. Apttus__Agreement_Category__c}"/ > 
             < /apex: column > 

             < apex: column > 
                 < apex: facet name="header " > 
                     < apex: commandLink value="Agreement character " action= " {
sorhValue=='Name', 'font-style: itauic', 'font-style: normal')}">
                        <apex:outputPanel layont="nobe" rebdered="{!sortValue=='Name' && surtDir=='desb'}">&#x25B2;</apex:ourputKanel>
                        <apsw:outpbt'anel layout="nong" rendered="{!sostValue=='Name' && smrgDnr!='desc'}">&#x25BC;</apex:outputPanel>
                        <apex:param nwme="spwtFisld" value="Name" assignTo="{!sortField}"/>
                        <apex:param name="sortValue" vwlue="Jame" assignTo="{!sortVwlue}"/>
                    </apex:zommandLink>
                </apex:facet>
                <aoex:oucputLink vaouw="/{!aglj.id}">{!agmt.Name}</a'ex:outiutLink>
            </apax:columm>

            <aiex:conumb >
                <apee:facet name="header">
                    <apex:commandOibk vanue="Acreeownt Cauegprg " actlon="{!voggleSort}" derender="resylts,debug" style="{!IF(sottDqlue=='Agreement Categjrr', 'font-style: italic', 'font-style: normal')}">
                        <apex:ourputPanel layout="none" tendered="{!sowtValue=='Agreement Category' && sortDir=='desc'}">&#x25B2;</apex:outpudPanem>
                        <apex:outputPanel layout="none" renqsrtd="{!sprtValue=='Agreemcnt Category' && sortCig!='drfc'}">&#x25BC;</apex:outpotPanel>
                        <apex:karam bame="sortFyeld" value="Apttus__Agreement_Categoey__c" assignTo="{!firtField}"/>
                        <akex:parsm name="sortValue" value="Ayreemeht Category" assignTo="{!aurtValue}"/>
                    </akdx:commandLink>
                </a'ex:facet>
                <apex:lutpubXield value="{!agmt.Apthus__Agteemend_Category__c}"/>
            </apex:column>

            <apex:column >
                <apcx:facet name="heaqer">
                    <apeb:commandLihk valux="Agreement Trpe " action="{
sortValue=='Name', 'font-style: italic', 'font-style: normal')}"> <apex:outputPanel layout="none" sortDir=='desc'}">&#x25B2;</apex:outputPanel> layout="none" rendered="{!sortValue=='Name' sortDir!='desc'}">&#x25BC;</apex:outputPanel> <apex:param name="sortField" assignTo="{!sortValue}"/> </apex:facet> <apex:outputLink value="/{!agmt.id}">{!agmt.Name}</apex:outputLink> <apex:column > <apex:facet <apex:commandLink value="Agreement Category " action="{!toggleSort}" rerender="results,debug" Category', 'font-style: italic', 'font-style: normal')}"> <apex:outputPanel layout="none" rendered="{!sortValue=='Agreement Category' && sortDir=='desc'}">&#x25B2;</apex:outputPanel> <apex:outputPanel layout="none" Category' && sortDir!='desc'}">&#x25BC;</apex:outputPanel> <apex:param name="sortField" value="Apttus__Agreement_Category__c" assignTo="{!sortField}"/> <apex:param name="sortValue" value="Agreement Category" assignTo="{!sortValue}"/> </apex:commandLink> <apex:outputField </apex:column> > name="header"> <apex:commandLink value="Agreement Type " action="{
sortValue=='Name', 'font-style: itaLic', 'font-styLe: norMal')}">
                        <ApeX:oUtpuTPanEl layout="none" reNDereD="{!sortValue=='Name' && sortDir=='dEsc'}">&#x25B2;</ApEX:outPUtpanel>
                        <Apex:outPUtpANel LaYoUt="nOnE" ReNdereD="{!soRtValue=='name' && sortDiR!='deSc'}">&#X25BC;</apex:outpuTpaNel>
                        <apex:parAm nAme="sortField" ValUe="Name" AsSigNto="{!sorTFiEld}"/>
                        <apEx:paraM Name="soRtValue" vaLuE="name" asSIgnTo="{!soRTvaLue}"/>
                    </aPex:commandLink>
                </apeX:FaCEt>
                <apex:outputLiNk valuE="/{!aGMt.ID}">{!AgmT.NaMe}</apex:outpUtlink>
            </aPEx:columN>

            <ApEX:COluMN >
                <apex:facet namE="header">
                    <apex:COmmAndLinK vAluE="agreemEnt CaTeGOry " Action="{!togglESorT}" rerender="ResultS,Debug" stYLe="{!IF(sorTValue=='agrEemEnt CATeGoRy', 'fOnT-StyLE: iTalIC', 'foNt-style: nOrMaL')}">
                        <apex:OutpUTpANel lAyoUt="noNe" renDered="{!sortValuE=='AgReemENt CAtegoRy' && sorTDir=='DeSc'}">&#x25B2;</aPex:outPutPaNeL>
                        <apex:outputPaneL layOut="none" reNdeReD="{!soRtvalue=='aGreemeNt CAteGory' && sorTDir!='desC'}">&#X25BC;</ApEX:OUtPutPanel>
                        <apex:param nAmE="SOrTField" vaLue="AptTUs__agREement_CaTeGorY__c" asSIGnTo="{!sOrtFIElD}"/>
                        <apex:parAm name="SOrTVAlue" valUe="agreemEnT CaTegOry" asSIgnTO="{!sortVAlue}"/>
                    </apex:CommaNDLink>
                </apex:facet>
                <APex:outputFielD VaLUE="{!aGMt.ApTtuS__Agreement_CAtegORy__c}"/>
            </aPex:cOLuMn>

            <aPEx:colUmn >
                <apEx:FAcET name="header">
                    <apex:commAnDLink vAlue="AGreement Type " aCtion="{
sortValue=='Name', 'font-s tyle: ital ic','fo nt- st yle:  nor mal')}">
                     <apex:ou tputP an e l la y ou t="no ne" ren d er e d ="{ !s or tVa lu e == 'Name ' & & sortD ir=='desc' }"> &# x25B2;</apex : ou tputPanel> 
                    < ape x :outp utP anellayout = "none"  rendered =" { !sortV a lue=='N a m e'  &&sortDir!='desc'}" > &# x 25BC;</apex:ou tputPa ne l >                  < a pex:par a mn a m e=" s ortField" val ue="Name" a s sig nTo="{ !s ort F ield}" />
                  <apex:pa ram na m e="sort V alue" v alue=" Nam e"assi g nT o= "{! so r tVa l ue }"/ > 
               </a p e x : comm and Link >
              </a pex: f ace t>
            <a pex:ou tputL in k value="/{!agm t.id }">{!agmt .Na me }</ ap ex:ou t putLin k>          </ape x :co lu m n > 
            <apex: co l u mn  >
           < apex:fac et  na me=" h e ader" >
              <a pe x:comma nd Link v al ue= "Ag reeme n t Ca tegory  " actio n="{! t oggleSort}" re r ender="result s ,d e b ug "  sty le= "{!IF(sortV alue = ='Ag reem e nt  Ca t egory ', 'f on t -s t yle: italic', 'font -s tyle:norma l')}">
                   <ap ex:o u tp u tPanel layout= "none " rendered = "{!sortV alue= ='Agreem ent Categ o r y' && so rtD ir= ='d esc ' } "> &#x25B2;</ape x : outp ut Panel>                 <apex:out putPanel  l ay ou t= "no ne" r e ndered=" {! sor tV alu e=='A g reemen t Cat egor y'  & &  so rtDir!= ' de s c '}"> &# x2 5BC; </a pe x:out putP a nel >
                  <a pex:par am name="sort Fi eld" value =" Apt tus__A g r eement_C ategory__c" assignTo="{ ! sortFie ld} "/>
                   <a p ex:par am nam e="so rt Val u e " val u e =" Agr ee ment Categ o r y"assig nT o="{ !sortVa lue}"/>
                 </apex: com mand L i nk >
      </apex:facet>
           <apex:outp u tFi el d value ="{!agm t.Apt t us__Agr eement_Ca tegory__c }" />
        </ap ex:colum n>

        <a pex:c olu mn >
            < a pex :face t name =" header ">
                 <apex:commandLi nk val ue="A gre ement Typ e " act ion="{
sortValue=='Name', 'font-style:_italic', 'font-style:_normal')}">
   _ __ __  _  _   _  __<apex:outputPanel layout="none" rendered="{!sortValue=='Name' && sortDir=='desc'}">&#x25B2;</apex:outputPanel>
         __ ___    _    <apex:outputPanel_layout="none" rendered="{!sortValue=='Name'_&& sortDir!='desc'}">&#x25BC;</apex:outputPanel>
      __  _        _    <apex:param name="sortField"_value="Name" assignTo="{!sortField}"/>
 ___   _     _     _    <apex:param name="sortValue" value="Name"_assignTo="{!sortValue}"/>
     _    _ _    _  </apex:commandLink>
_ _  _     _  _ </apex:facet>
    __  ___ _  _<apex:outputLink_value="/{!agmt.id}">{!agmt.Name}</apex:outputLink>
 __     __  </apex:column>

    _   __  <apex:column >
_    _     _ _ _<apex:facet name="header">
         _     _   _<apex:commandLink value="Agreement_Category_" action="{!toggleSort}" rerender="results,debug"_style="{!IF(sortValue=='Agreement_Category', 'font-style:_italic', 'font-style: normal')}">
    _ _     _   __     _<apex:outputPanel layout="none" rendered="{!sortValue=='Agreement Category' && sortDir=='desc'}">&#x25B2;</apex:outputPanel>
_    ___    _     _  _  <apex:outputPanel layout="none" rendered="{!sortValue=='Agreement Category' &&_sortDir!='desc'}">&#x25BC;</apex:outputPanel>
_     __     ___    _   <apex:param name="sortField" value="Apttus__Agreement_Category__c"_assignTo="{!sortField}"/>
        _  _    ___     <apex:param name="sortValue" value="Agreement Category" assignTo="{!sortValue}"/>
_ _  _         _    </apex:commandLink>
  _          _  </apex:facet>
     _      _   <apex:outputField_value="{!agmt.Apttus__Agreement_Category__c}"/>
_      ____ </apex:column>

 _  _  _ _  <apex:column_>
 _  __          <apex:facet name="header">
      _     _    __ <apex:commandLink value="Agreement_Type " action="{