.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?
.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?