sort by name

<% @users_by_name.each do |user| %> <%= link_to user.name , new_user_order_path(user), class: "btn btn-info overview", style: get_color_style(user) %> <% end %>

sort by orders

<% @users_by_order.each do |user| %> <%= link_to user.name , new_user_order_path(user), class: "btn btn-info overview", style: get_color_style(user) %> <% end %>