Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
2
Task/Sort-stability/Zkl/sort-stability-1.zkl
Normal file
2
Task/Sort-stability/Zkl/sort-stability-1.zkl
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
fcn sortByColumn(list,col)
|
||||
{ list.sort('wrap(city1,city2){ city1[col]<city2[col] }) }
|
||||
5
Task/Sort-stability/Zkl/sort-stability-2.zkl
Normal file
5
Task/Sort-stability/Zkl/sort-stability-2.zkl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
cities:=List(
|
||||
T("UK", "London"), T("US", "New York"),
|
||||
T("US", "Birmingham"),T("UK", "Birmingham"), );
|
||||
sortByColumn(cities,0).concat("\n").println("\n------");
|
||||
sortByColumn(cities,1).concat("\n").println();
|
||||
Loading…
Add table
Add a link
Reference in a new issue