mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-19 10:00:16 +01:00
extending a comment
This commit is contained in:
parent
63e75ec2d8
commit
cfc6ee3d04
@ -5,7 +5,7 @@ import java.text.Collator
|
||||
/**
|
||||
* Collator-based string comparator
|
||||
*
|
||||
* Adapted from AlphanumericComparator to support numerical collation.
|
||||
* Adapted from AlphanumericComparator to support numerical collation. It sorts accents properly too.
|
||||
*/
|
||||
class CollatorBasedComparator : Comparator<String> {
|
||||
override fun compare(string1: String, string2: String): Int {
|
||||
|
Loading…
x
Reference in New Issue
Block a user