From 7afb15c38168901870e22a9d134961ec97d62f31 Mon Sep 17 00:00:00 2001 From: chrislo27 Date: Thu, 15 Apr 2021 18:46:46 -0700 Subject: [PATCH] Fix sorting in libraries used in about tab --- src/main/kotlin/rhmodding/bread/util/LibrariesUsed.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/rhmodding/bread/util/LibrariesUsed.kt b/src/main/kotlin/rhmodding/bread/util/LibrariesUsed.kt index dc2c1ec..e95db53 100644 --- a/src/main/kotlin/rhmodding/bread/util/LibrariesUsed.kt +++ b/src/main/kotlin/rhmodding/bread/util/LibrariesUsed.kt @@ -1,5 +1,7 @@ package rhmodding.bread.util +import java.util.* + object LibrariesUsed { data class Library(val name: String, val website: String) @@ -10,5 +12,5 @@ object LibrariesUsed { Library("Jackson", "https://github.com/FasterXML/jackson"), Library("animated-gif-lib", "https://github.com/rtyley/animated-gif-lib-for-java"), Library("JCodec", "https://github.com/jcodec/jcodec") - ).sortedBy { it.name } + ).sortedBy { it.name.toLowerCase(Locale.ROOT) } } \ No newline at end of file