=@sheets.size résultats %table.admin_table %tr %th Nom %th Prénom %th Téléphone %th Email %th =render @sheets.sort{|u,v| ((u.person.surname if u.person) || u.corporate).to_s <=>(( v.person.surname if v.person )|| v.corporate).to_s}