CtrlLib: ArrayCtrl sort improved, Core: GetLanguageInfo() optimized

git-svn-id: svn://ultimatepp.org/upp/trunk@13419 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-06-18 13:37:43 +00:00
parent b76a6ae8e5
commit 90752f380c
11 changed files with 74 additions and 163 deletions

View file

@ -2491,7 +2491,7 @@ void ArrayCtrl::Sort(int from, int count, Gate<int, int> order)
for(int i = 0; i < array.GetCount(); i++)
h.Add(i);
SortA();
StableSort(SubRange(h, from, count).Write(), order);
CoStableSort(SubRange(h, from, count).Write(), order);
SortB(h);
Refresh();
SyncInfo();