From b037a9fc49ee690c15155fc1482cfc86ae7d1cbb Mon Sep 17 00:00:00 2001 From: Tank_Master Date: Fri, 24 Jun 2011 00:24:22 -0700 Subject: [PATCH] Worldmap: Sort search results alphabetically --- indra/newview/llfloaterworldmap.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp index 2447973a18..0d70769ba4 100644 --- a/indra/newview/llfloaterworldmap.cpp +++ b/indra/newview/llfloaterworldmap.cpp @@ -1540,6 +1540,9 @@ void LLFloaterWorldMap::updateSims(bool found_null_sim) if (num_results > 0) { + // Ansariel: Let's sort the list to make it more user-friendly + list->sortByColumn("sim_name", TRUE); + // if match found, highlight it and go if (!match.isUndefined()) {