iOS: alphabetically sort .love file list.

Fixes #1984.
This commit is contained in:
Sasha Szpakowski
2023-11-18 13:44:41 -04:00
parent 81393b9aed
commit 99e7022d2d
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -4,6 +4,9 @@ LOVE 11.5 [Mysterious Mysteries]
Released: N/A
* Added "LÖVE Loader" launcher on Android for easier loading of .love files.
* Changed iOS game selector to alphabetically sort the list of .love files.
* Fixed inconsistent and buggy behaviour of 'pairs' by updating LuaJIT.
* Fixed "unexpected alignment" errors when running love on some 32 bit Linux systems.
* Fixed running fused games on Windows when the executable has been code-signed.
+2
View File
@@ -150,6 +150,8 @@ static NSArray *getLovesInDocuments()
[paths addObject:path.stringByDeletingLastPathComponent];
}
[paths sortUsingSelector:@selector(localizedCaseInsensitiveCompare:)];
return paths;
}