You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: herbaria_helper.rb
    path of file: ./repos/mushroom-observer/app/helpers/tabs
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

# Custom Tabset Helpers for Herbaria views
# NOTE: this uses ids not classes for identifiers, change this
module Tabs
  module HerbariaHelper
    def herbaria_index_tabs(query:)
    
    
    def full_herbaria_index_sorts
      [
        ["records",     :sort_by_records.t],
        ["user",        :sort_by_user.t],
        ["code",        :sort_by_code.t],
        ["name",        :sort_by_name.t],
        ["created_at",  :sort_by_created_at.t],
        ["updated_at",  :sort_by_updated_at.t]
      ].freeze
    end