xxxxxxxxxx
import std.stdio;
void main()
{
import std.algorithm;
import std.range;
string[] a = ["Apple", "Banana", "Cookie", "Doughnut", "Egg"];
int[] b = [10, 4, 3, 7, 1];
sort!"a[1] < b[1]"(zip(a, b));
writeln(a);
writeln(b);
}