diff options
-rw-r--r-- | src/main/kotlin/FileController.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/FileController.kt b/src/main/kotlin/FileController.kt index e9c861c..b7ff9d7 100644 --- a/src/main/kotlin/FileController.kt +++ b/src/main/kotlin/FileController.kt @@ -43,7 +43,7 @@ class FileController { ) ) } - //files.sortWith(String.CASE_INSENSITIVE_ORDER) // TODO: Reimplement file array sorting in backend + files.sortWith(compareBy { it.first() }) ctx.render( "files.rocker.html", TemplateUtil.model( "files", @@ -222,7 +222,7 @@ class FileController { ) ) } - //files.sortWith(String.CASE_INSENSITIVE_ORDER) // TODO: Reimplement file array sorting in backend + files.sortWith(compareBy { it.first() }) ctx.render( "files.rocker.html", TemplateUtil.model( "files", files, |