<div dir="ltr">Hi Michael!<div><br></div><div>I would try it with ogr2ogr which is shipped in all qgis installations. </div><div><br></div><div>Best regards</div><div>Abel Gonzalez</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den mån 11 mars 2024 kl 12:27 skrev Michael.Dodd via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-1212152584725201264">





<div lang="EN-GB" style="overflow-wrap: break-word;">
<div class="m_-1212152584725201264WordSection1">
<p class="MsoNormal">I have a very large (5 million rows) table in qgis and have sorted some of the columns etc and want to save the sorted version but whatever format I try (.csv, geopackage or other formats) it just saves the original order not the sorted
 order. It also will not allow me to click the button to ‘save edits’ whether or not the table is editable.  Trying to copy large chunks of the data out by highlighting it in sorted order is also very flaky – occasionally it works but most often does not.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I know a database would be more suitable for doing this but I want to know if this is possible in qgis itself or is simply impossible.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</div></blockquote></div>