20#include "matpack_concepts.h"
40 sorted.resize(data.size());
41 std::iota(sorted.begin(), sorted.end(), 0);
42 sort(sorted.begin(), sorted.end(), [&data](
const Index
a,
const Index
b) {
43 return data[a] < data[b];
This file contains the definition of Array.
void get_sorted_indexes(ArrayOfIndex &sorted, const T &data)
get_sorted_indexes