      ng-repeat="(key, action) in $ctrl.sortActions"
      ng-class="{
        'selected': key === activeSortKey
      }"
    >
      <button
        class="dropdown-item"
        ng-click="action($ctrl.params)"
        ng-bind="key | translate"
      ></button>
    </li>
  </ul>
</div>
