insights: naively sort by query text uppercase for case-insensitive sorting
Created by: coury-clark
To match the semantics of the frontend sorting we will naively sort based on uppercase strings. This isn't locale-aware but we are going to accept that for now.