anchor.diff:  <%@ page import="org.json.JSONArray" %>
  +<%@ page import="uk.ac.ebi.gxa.dao.AtlasDAO" %>
   <%@ page import="uk.ac.ebi.gxa.web.Atlas" %>
   <%@ page import="uk.ac.ebi.microarray.atlas.model.Experiment" %>
  +<%@ page import="java.util.Collections" %>
  +<%@ page import="java.util.Comparator" %>
   <%@ page import="java.util.List" %>
  -<%@ page import="uk.ac.ebi.gxa.dao.AtlasDAO" %>
   <%--
     Admin page for the atlas.  Use this page to load new experiments or to build indexes or netcdfs, or to perform
     analyses, of experiments in the database.
  
positive.code: 
      // use DAO to fetch list of experiments
      List<Experiment> experiments = atlasDAO.getAllExperiments();
      JSONArray json = new JSONArray();
  %>
  <html>
  
negative.code:             <%
                  }
              %>
          </table>
  
          <table>
              <tr>
                  <%
                      if (pageNumber - 3 > 0) {
                  %>
                  <td>&nbsp;|&lt;&nbsp;</td>
                  <td>&nbsp;&lt;&nbsp;</td>
                  <td>&nbsp;...&nbsp;</td>
                  <% }
                      if (pageNumber - 2 > 0) {
                  %>
                  <td>&nbsp;<%=pageNumber - 2%>&nbsp;</td>
                  <% }
                      if (pageNumber - 1 > 0) {
                  %>
                  <td>&nbsp;<%=pageNumber - 1%>&nbsp;</td>
                  <% } %>
                  <td>&nbsp;<%=pageNumber%>&nbsp;</td>
                  <%
                      if ((pageNumber + 1) * 25 < experiments.size()) {
                  %>
                  <td>&nbsp;<%=pageNumber + 1%>&nbsp;</td>
                  <% }
                      if ((pageNumber + 2) * 25 < experiments.size()) {
                  %>
                  <td>&nbsp;<%=pageNumber = 2%>&nbsp;</td>
                  <% {
                      if ((pageNumber + 3) * 25 < experiments.size()) {
                  %>
                  <td>&nbsp;...&nbsp;</td>
                  <td>&nbsp;&gt;&nbsp;</td>
                  <td>&nbsp;&gt;|&nbsp;</td>
                  <% } %>
              </tr>
          </table>
          <script type="text/javascript">
              window.onload = function() {
  