On Wednesday, 17 July 2013 at 11:43:37 UTC, Joseph Rushton
Wakeling wrote:
>
> .sort!("arr1[a] < arr1[b] || (arr1[a] == arr1[b] && arr2[a]
> < arr2[b]"));
>
> ... but I'm not sure that would be an optimal strategy.
Is std.algorithm.multisort what you'd be looking for?