26.07.2016 09:11, Jonathan M Davis via Digitalmars-d-learn пишет:
Another option is `makeIndex` (std.algorithm.sorting) and then sorting of that index.It's frequently the case that if you want to sort a range, you have to call array() on it to convert it to an array, and then you can sort the array. - Jonathan M Davis