[MIRROR] Code cleanup: Sorting (#27596)

* Code cleanup: Sorting

* Fixes

---------

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: Waterpig <wtryoutube@seznam.cz>
This commit is contained in:
SkyratBot
2024-05-05 08:51:43 +02:00
committed by GitHub
parent a992f9f468
commit 483236f32a
17 changed files with 108 additions and 73 deletions
@@ -14,7 +14,7 @@
/datum/computer_file/program/emojipedia/New()
. = ..()
// Sort the emoji list so it's easier to find things and we don't have to keep sorting on ui_data since the number of emojis can not change in-game.
emoji_list = sortTim(emoji_list, GLOBAL_PROC_REF(cmp_text_asc))
sortTim(emoji_list, /proc/cmp_text_asc)
/datum/computer_file/program/emojipedia/ui_static_data(mob_user)
var/list/data = list()