I have a to export points along a specific path.
We have a point layer of 40.000 points (representing water customers).
We created a polyline from one point to the next, and so on (representing the way the meter reader has to walk from one customer to the next).
Now, we need to export the customers according to the order the points appear on the created polyline(representing the path the the meter reader needs to walk). We selected the points according to their position on the ployline (in geographic order) The exported file should contain the points in order according to the direction of the path. (It's for the creation of a reading list for water meter readers.) However, the exported file contains the points according to the FID field number instead of the selected order.
We are using QGIS 3.24, having a CSV file containing around 40.000 entries (representing customers). We're linking the CSV file to a point layer containing mainly the one "meter number" [numeric] as primary key to link it to the CSV file (the account number).


