anchor.diff:  				{ "bVisible": false, "sType": "numeric" },
   				{ "bVisible": ${showEditLink}, "iDataSort": 0 }, // sort this column by using the previous invisible column for encounterIds,
   				{ "bVisible": ${showViewLink}, "iDataSort": 0 }, // sort this column by using the first invisible column for encounterIds,
  -            	{ "iDataSort": 3 }, // sort the date in this column by using the next invisible column for time in milliseconds
  +            	{ "iDataSort": 4 }, // sort the date in this column by using the next invisible column for time in milliseconds
               	{ "bVisible": false, "sType": "numeric" },
               	null,
               	null,
  
positive.code: 								 	<spring:message code="general.view"/>
  								</c:if></th>
  								<th class="encounterDatetimeHeader"> <spring:message code="Encounter.datetime"/> </th>
  								<th> hidden Encounter.datetime </th>
  								<th class="encounterTypeHeader"> <spring:message code="Encounter.type"/>     </th>
  								<th class="encounterProviderHeader"> <spring:message code="Encounter.provider"/> </th>
  								<th class="encounterFormHeader"> <spring:message code="Encounter.form"/>     </th>
  
negative.code: 						<tbody>
  							<openmrs:forEachEncounter encounters="${model.patientEncounters}" sortBy="encounterDatetime" descending="true" var="enc" num="${model.num}">
  								<tr class="<c:choose><c:when test="${count % 2 == 0}">evenRow</c:when><c:otherwise>oddRow</c:otherwise></c:choose>">
  									<td class="hidden">
  										<%--  this column contains the encounter id and will be used for sorting in the dataTable's encounter edit column --%>
  										${enc.encounterId}
  									</td>
  