anchor.diff:              </ul>
   
               <ul class="page_warnings">
  -            <% page.warnings.each do |warning| %>
  +            <% page.warnings.sort_by {|w| w.line.to_i}.each do |warning| %>
                 <li>
                   <% if warning.message_id == 'html5' %>
                     HTML5 warning on line <%= warning.line %>:
  
positive.code:     </div>
  
      <div id="main">
        <h1>Report for <%= @url %></h1>
  
        <h2>SITEMAP SUMMARY</h2>
        <p>TOTAL: <%= errors.length %> errors, <%= warnings.length %> warnings.</p>
  
        <% if errors.length > 0 %>
          <h2>POPULAR ERRORS</h2>
          <ul>
          <% errors.group_by {|e| e.message_id}.sort_by {|m,e| e.length}.reverse.each do |message_id, errors| %>
            <% if message_id == 'html5' %>
              <li><%= errors.length %> HTML5 errors found</li>
            <% elsif message_id %>
              <li>error <a href="http://validator.w3.org/docs/errors.html#ve-<%= message_id %>"><%= message_id %></a>
              happens <%= errors.length %> times</li>
  
negative.code:         border: 1px solid black;
          background-color: white;
        }
        a { text-decoration: none; color: black;}
        a:hover { text-decoration: underline; }
      </style>
    </head>
    <body>
  