[Qgis-user] What is a correct input or ouput for "Order by expression" algorithm ?

Yann Voté ygversil at lilo.org
Mon Jul 13 05:22:20 PDT 2020


Hi all,

I'm trying to use the "Order by expression" algorithm in a processing model.

Before this algorithm I manipulate input layers (remove and refactor 
columns). After it, I export ordered layers to CSV as a final result 
(then I want to diff CSV files, that's why I need ordered output).

But it seems to not work. Layers are not ordered at all. The help 
message says: "Be careful, it might not work as expected with some 
providers, the order might not be kept every time." But which providers 
are working ?

There is also this Github issue: 
https://github.com/qgis/QGIS/issues/29794 which does not provide helpful 
feedback.

Does anybody know what is the correct way to use the "Order by 
expression" algorithm ? Or any workaround to acheive the same effect ?

Thanks.

-- 
Yann Voté - ygversil at lilo.org


More information about the Qgis-user mailing list