<div data-controller="popup" id="asset__sort">
  <button class="navbar-link has-popup-menu" data-action="click->popup#toggle">
    <%= link_to_sortable sorting_technique, t(sorting_technique, scope: 'sort') %>
  </button>

  <div class="popup-menu">
    <ul>
      <li><%= link_to_sortable :by_filename, t('sort.by_filename'), data: { turbo_stream: true } %></li>
      <li><%= link_to_sortable :by_last_modified, t('sort.by_last_modified'), data: { turbo_stream: true } %></li>            
    </ul>          
  </div>
</div>