<commit_before>class Volunteer::CheckInController < Volunteer::BaseController
  before_filter :authenticate_user!
  layout 'event'

  def index
    @event = Event.find params[:event_id]
    @registrations = @event.volunteer_registrations.includes({:assignments => {:position => :role}})

    authorize! :read, @event
  end
end<commit_msg>sort checkin by first name, last name<commit_after>class Volunteer::CheckInController < Volunteer::BaseController
  before_filter :authenticate_user!
  layout 'event'

  def index
    @event = Event.find params[:event_id]
    @registrations = @event.volunteer_registrations.includes([:profile, {:assignments => {:position => :role}}]).order("profiles.first_name, profiles.last_name")

    authorize! :read, @event
  end
end
{'fraction_non_alphanumeric': 0.12220762155059132, 'fraction_numerical': 0.0, 'mean_word_length': 5.803571428571429, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1554802', 'n_tokens_mistral': 243, 'n_tokens_neox': 229, 'n_words': 49}