By default when I call this:
<table>
<% @question.answers.each do |answer| %>
<tr>
The answers for a question are displayed in the order they were created.
What's the appropriate way to sort them according to their votes?
I'm not sure whether I need to call a method on the answers in the View or implement a sort function in the Controller or the Model.