FIX: orders invitees list by status

FIX: orders invitees list by status

diff --git a/app/controllers/discourse_post_event/invitees_controller.rb b/app/controllers/discourse_post_event/invitees_controller.rb
index 26c2f82..b7b557b 100644
--- a/app/controllers/discourse_post_event/invitees_controller.rb
+++ b/app/controllers/discourse_post_event/invitees_controller.rb
@@ -13,7 +13,7 @@ module DiscoursePostEvent
           .where("LOWER(users.username) LIKE :filter", filter: "%#{params[:filter].downcase}%")
       end
 
-      render json: ActiveModel::ArraySerializer.new(event_invitees.limit(10), each_serializer: InviteeSerializer).as_json
+      render json: ActiveModel::ArraySerializer.new(event_invitees.order([:status, :user_id]).limit(10), each_serializer: InviteeSerializer).as_json
     end
 
     def update

GitHub sha: df1874f2