You've already forked lazarus-ccr
fpspreadsheet: Rework of worksheet sorting, patch by Zoran (https://forum.lazarus.freepascal.org/index.php/topic,45474.msg321648.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7011 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -2362,7 +2362,10 @@ begin
|
||||
SetLength(Result.Keys, ANumSortKeys);
|
||||
for i:=0 to High(Result.Keys) do begin
|
||||
Result.Keys[i].ColRowIndex := i;
|
||||
Result.Keys[i].Options := []; // Ascending & case-sensitive
|
||||
if ASortPriority = spAlphaNum then
|
||||
Result.Keys[I].Options := [ssoAlphaBeforeNum]
|
||||
else
|
||||
Result.Keys[i].Options := []; // Ascending & case-sensitive
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user