I was wondering if there was a way to sort the attribute table in QGIS Pi by date modified. I have been digitizing a large area and I need to delete the last 50-100 features that were digitized. My current table has roughly 3,000 features on it and I really don't want to search through the map or attribute table to find them one by one.

1 Answer 1


If your format is a geopackage, you can sort by fid and delete the rows with the highest fids as those are the last digitised.

  • 1
    You can also add a new field with the expression $id, which is format independent.
    – MrXsquared
    Dec 3, 2020 at 22:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.