salve a tutti, ho un problema spinoso maledetto
obiettivo: vorrei sortare delle semplici <table> dichiarate in una .jsp.
premessa: come framework sono sotto struts 1.1, la table in questione è (e deve rimanere tale ) composta da una serie di campi di intestazione e poi da uno <struts-logic:iterate id="list" che determinerà tutti i valori

Volevo applicare il javascript "sorttable.js" che gira da parecchio che è molto comodo( import di uno o piu .js e aggiunta del class="sortbale" sulla table), ma non riesco assolutamente ad applicarlo nel mio caso (sono due giorni che googlo senza pace).
help!!
Vi riporto il codice della table quantomeno (la jsp è lunghetta)

codice:
<table width="1250" height="50" border="1"> 						 						<td width="20"><struts-bean:message key="lblCondizioniLogiche" bundle="giv.accenture" /></td> 						  				<% 				if ( sectorId == 'F' && !(germanMarket.equalsIgnoreCase("true")) ) { 				%>	 						<td width="10"><struts-bean:message key="lblAggiuntivita" bundle="giv.accenture" /></td> 				<%} %>			 						 						<td ><struts-bean:message key="lblgrand" bundle="giv.accenture" /></td> 						<td colspan="2" align="left" width="130"><struts-bean:message key="lblpedaa" bundle="giv.accenture" /></td> 						<td></td> 						<td align="center" width="20"><struts-bean:message key="lblval" bundle="giv.accenture" /></td> 						<td></td> 						<td><struts-bean:message key="lblcli" bundle="giv.accenture" /></td> 						<td><struts-bean:message key="lblpro" bundle="giv.accenture" /></td> 						<td width="20"><struts-bean:message key="lblco" bundle="giv.accenture" /></td> 						 						<td><struts-bean:message key="lblultagg" bundle="giv.accenture" /></td> 						<td><struts-bean:message key="lblstato" bundle="giv.accenture" /></td>                           						<% 						if ( sectorId == 'F' && !(germanMarket.equalsIgnoreCase("true")) ) {	 						//if(!(germanMarket.equalsIgnoreCase("true"))){ 						 %> 						<td align="center"><struts-bean:message key="lblObietCum" bundle="giv.accenture" /></td> 						<td align="center"><struts-bean:message key="lblValueAbs" bundle="giv.accenture" /></td> 						<%} %>                         						 						<td></td> 						<td></td> 						 						 						<struts-logic:iterate id="list"  indexId="i" name="paginatorSubSetList" > 							<tr align="center" bgcolor="<struts-bean:write name="list" property="lblColoreRiga"/>" > 								<struts-logic:equal name="list" property="lblColoreRiga" value="gray" >													  									<td  align="left" > 										<struts-html:text name="list" property="cod_raggr_cond" indexed ="true" readonly="true" size="5" disabled="true" /> 									</td> 	 								  						<% 						if ( sectorId == 'F' && !(germanMarket.equalsIgnoreCase("true")) ) {	 						//if(!(germanMarket.equalsIgnoreCase("true"))){ 						 %>	 								 									  <td align ="center"> 										 <struts-logic:equal name="list" property="flgCessato" value="2"> 											<input type="checkbox" name="aggiuntivita" value="true" checked="checked" readonly="true" disabled="true"  /> 										</struts-logic:equal> 										 <struts-logic:notEqual name="list" property="flgCessato" value="2"> 											<input type="checkbox" name="aggiuntivita" value="true" readonly="true" disabled="true" /> 									     </struts-logic:notEqual> 									</td> 						<%} %> 									 									<td  align="left" >	 										<struts-html:text name="list" property="cod_mont_linee" indexed ="true" readonly="true" size="45" disabled="true" /> 									</td>  									<td  align="left" > 										<struts-html:text name="list" property="data_inizio_cond" indexed ="true" readonly="true" size="12" disabled="true" /> 									</td>  									<td  align="left"> 										<struts-html:text name="list" property="data_fine_cond" indexed ="true" readonly="true" size="12" disabled="true"  /> 									</td> 									 									<td  align="left" > 										<struts-html:text name="list" property="des_stato_cond" indexed ="true" readonly="true" size="3" disabled="true" /> 									</td> 					 									<td  align="left" > 										<struts-html:text name="list" property="perc_obj" indexed ="true" readonly="true" size="10"  disabled="true" /> 									</td> 								 									<td  align="left" > 										<struts-html:text name="list" property="des_tipocond" indexed ="true" readonly="true" size="5"  disabled="true" /> 									</td> 								 									<td  align="left" > 										<struts-html:text name="list" property="cliente" indexed ="true" readonly="true" size="16" disabled="true" /> 									</td> 									 									<td  align="left" > 										<struts-html:text name="list" property="prodotto" indexed ="true" readonly="true" size="18" disabled="true"  /> 									</td> 								 									<td  align="left" > 										<struts-html:text name="list" property="confronto" indexed ="true" readonly="true" size="7" disabled="true" /> 									</td> 								 									<td  align="left" > 										<struts-html:text name="list" property="datatms" indexed ="true" readonly="true" size="12" disabled="true" /> 									</td> 			 									<td> 										<struts-html:text name="list" property="descrizione" indexed ="true" readonly="true" size="5" disabled="true" /> 										<struts-html:text name="list" property="progressivo" indexed ="true" readonly="true" style="display:none" /> 									</td>                                       						<% 						if ( sectorId == 'F' && !(germanMarket.equalsIgnoreCase("true")) ) { 						//if(!(germanMarket.equalsIgnoreCase("true"))){  						%> 									<td> <struts-html:text name="list" property="codCumuloObiettivi" indexed ="true" readonly="true" disabled="true"/> </td>                                     <td> <struts-html:text name="list" property="valCumuloObiettivi" indexed ="true" readonly="true" disabled="true"/> </td>                                     <%} %>                                     									 									<td > 										<struts-logic:match name="rendObiettivi" property="vedi" value="true"> 											<input type="button" value="<struts-bean:message key="LineElimina" bundle="giv.accenture" />" name="<%= i.toString() %>" onClick="prova(this.name)" bgcolor="<struts-bean:write name="list" property="lblColorecolonna"/>" disabled = true>    										</struts-logic:match>  										<struts-logic:notMatch name="rendObiettivi" property="vedi" value="true"> 											<input type="button" value= "<struts-bean:message key="LineDisabilita" bundle="giv.accenture" />" name="<%= i.toString() %>" onClick="provauno(this.name)" bgcolor="<struts-bean:write name="list" property="lblColorecolonna"/>" disabled = true>  											<%-- Barbara <input type="button" value= "<struts-bean:message key="LineDisabilita" bundle="giv.accenture" />" name=<%= i.toString() %> onClick="provauno(this.name)" bgcolor="<struts-bean:write name="list" property="lblColorecolonna"/>" disabled = true> --%> 										</struts-logic:notMatch> 									</td> 								</struts-logic:equal> 							 							</tr>                              							<tr>                            							 								<struts-logic:notEqual name="list" property="lblColoreRiga" value="gray"  > 									<td  align="left" > 										<struts-html:text name="list" property="cod_raggr_cond" indexed ="true" readonly="true" size="5"  /> 									</td>   						<% 						if ( sectorId == 'F' && !(germanMarket.equalsIgnoreCase("true")) ) {	 						//if(!(germanMarket.equalsIgnoreCase("true"))){ 						 %>	 								 								  									  <td align ="center"> 										 <struts-logic:equal name="list" property="flgCessato" value="2"> 											<input type="checkbox" name="aggiuntivita" value="true" checked="checked" readonly="true" disabled="true" /> 										</struts-logic:equal> 										 <struts-logic:notEqual name="list" property="flgCessato" value="2"> 											<input type="checkbox" name="aggiuntivita" value="true" readonly="true" disabled="true" /> 									     </struts-logic:notEqual> 									</td> 									 					     <%} %> 									 									<td  align="left" >	 										<struts-html:text name="list" property="cod_mont_linee" indexed ="true" readonly="true" size="45"  /> 									</td> 							 									<td  align="left" > 										<struts-html:text name="list" property="data_inizio_cond" indexed ="true" readonly="true" size="12"  /> 									</td> 									 									<td  align="left"> 										<struts-html:text name="list" property="data_fine_cond" indexed ="true" readonly="true" size="12"   /> 									</td>  									<td  align="left" > 										<struts-html:text name="list" property="des_stato_cond" indexed ="true" readonly="true" size="3"  /> 									</td> 				 									<td  align="left" > 										<struts-html:text name="list" property="perc_obj" indexed ="true" readonly="true" size="10"  /> 									</td> 								 									<td  align="left" > 										<struts-html:text name="list" property="des_tipocond" indexed ="true" readonly="true" size="5"  /> 									</td> 			 									<td  align="left" > 										<struts-html:text name="list" property="cliente" indexed ="true" readonly="true" size="16" /> 									</td> 								 									<td  align="left" > 										<struts-html:text name="list" property="prodotto" indexed ="true" readonly="true" size="18"  /> 									</td> 								 									<td  align="left" > 										<struts-html:text name="list" property="confronto" indexed ="true" readonly="true" size="7"  /> 									</td> 								 									<td  align="left" > 										<struts-html:text name="list" property="datatms" indexed ="true" readonly="true" size="12"  /> 									</td> 	 									<td> 										<struts-html:text name="list" property="descrizione" indexed ="true" readonly="true" size="5"  /> 										<struts-html:text name="list" property="progressivo" indexed ="true" readonly="true" style="display:none" /> 									</td>                                       						<% 						if ( sectorId == 'F' && !(germanMarket.equalsIgnoreCase("true")) ) { 						//if(!(germanMarket.equalsIgnoreCase("true"))){  						%> 									<td> <struts-html:text name="list" property="codCumuloObiettivi" indexed ="true" readonly="true"/> </td>                                     <td> <struts-html:text name="list" property="valCumuloObiettivi" indexed ="true" readonly="true"/> </td>                                     <%} %>                                     									 									<td > 										<struts-logic:match name="rendObiettivi" property="vedi" value="true"> 											<input type="button" value="<struts-bean:message key="LineElimina" bundle="giv.accenture" />" name="<%= i.toString() %>" onClick="prova(this.name)" bgcolor="<struts-bean:write name="list" property="lblColorecolonna"/>" >    										</struts-logic:match>  										<struts-logic:notMatch name="rendObiettivi" property="vedi" value="true"> 											<input type="button" value= "<struts-bean:message key="LineDisabilita" bundle="giv.accenture" />" name="<%= i.toString() %>" onClick="provauno(this.name)" bgcolor="<struts-bean:write name="list" property="lblColorecolonna"/>" >  											<%-- barbara <input type="button" value= "<struts-bean:message key="LineDisabilita" bundle="giv.accenture" />" name=<%= i.toString() %> onClick="provauno(this.name)" bgcolor="<struts-bean:write name="list" property="lblColorecolonna"/>" >  --%> 										</struts-logic:notMatch> 								 									</td> 								</struts-logic:notEqual> 							</tr> 						</struts-logic:iterate> 						 						  	   					</table>