Make better sorting
This commit is contained in:
parent
b105d89881
commit
e33981d4db
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ public class SearchCityByNameActivity extends SearchByNameAbstractActivity<City>
|
||||||
if(st1 != st2) {
|
if(st1 != st2) {
|
||||||
return st1 ? 1 : -1;
|
return st1 ? 1 : -1;
|
||||||
}
|
}
|
||||||
compare = cs.compare(lhs.getName(en), rhs.getName(en));
|
compare = cs.compare(getText(lhs), getText(rhs));
|
||||||
if (compare != 0) {
|
if (compare != 0) {
|
||||||
return compare;
|
return compare;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue