<div id="sortable_list">
<ol id="rankings-list">
- <% for ranking in @voter.vote.rankings %>
+ <% for ranking in @voter.vote.rankings.sort %>
<li class="moveable" id="ranking_<%= ranking.candidate.id %>">
<%= white_list(ranking.candidate.name.capitalize) %></li>
<% end %>