| 111 | } |
| 112 | |
| 113 | void PointView::stableSort(Dimension::Id dim) |
| 114 | { |
| 115 | auto comp = [this, dim](PointId id1, PointId id2) |
| 116 | { |
| 117 | return compare(dim, id1, id2); |
| 118 | }; |
| 119 | basic_sort(std::stable_sort<std::vector<PointId>::iterator, PointView::Compare>, comp); |
| 120 | } |
| 121 | |
| 122 | void PointView::stableSort(Compare comp) |
| 123 | { |