<div class="dialog_add_tie" id="new_tie">
    <div class="content_add_user" >
      <div class="tie_logo">
        <%= link_to image_tag(@tie.receiver_subject.logo.url(:profile),
                              :size => "100x100",
                              :alt => @tie.receiver_subject.name),
                     @tie.receiver_subject %>
      </div>
      <div class="activity_add_ties">
        <div><%= t('message.one')+":" %><br />
         <%= form_for @tie,
                      :remote => true do |f| %>
           <%= f.hidden_field :receiver_id %>
           <%= f.hidden_field :sender_id %>
           <%= f.text_area :message,   :class =>"input_new_tie" %>

           <%= f.select :relation_name, @tie.sender.relations.map{ |r| [ r.name, r.name ] } %>

           <div class="ties_btn">
             <%= submit_tag t('contact.new.submit'), :class => "tie_btn" %>
           </div>
         <% end %>
        </div>
      </div>
    </div>
</div>

<div class="dialog_add_tie" id="new_tie">
    <div class="content_add_user" >
      <div class="tie_logo">
        <%= link_to image_tag(@tie.receiver_subject.logo.url(:profile),
                              :size => "100x100",
                              :alt => @tie.receiver_subject.name),
                     @tie.receiver_subject %>
      </div>
      <div class="activity_add_ties">
        <div><%= t('message.one')+":" %><br />
         <%= form_for @tie,
                      :remote => true do |f| %>
           <%= f.hidden_field :receiver_id %>
           <%= f.hidden_field :sender_id %>
           <%= f.text_area :message,   :class =>"input_new_tie" %>

           <%= f.select :relation_name, @tie.sender.relations.sort.map{ |r| [ r.name, r.name ] } %>

           <div class="ties_btn">
             <%= submit_tag t('contact.new.submit'), :class => "tie_btn" %>
           </div>
         <% end %>
        </div>
      </div>
    </div>
</div>

Sort relations in new tie form
Sort relations in new tie form
