# Sort everything by "Last changed" by default

**URL:** <https://gramps.discourse.group/t/sort-everything-by-last-changed-by-default/5398>\
**Category:** Help\
**Created:** [May 5, 2024, 6:13am UTC](https://gramps.discourse.group/t/sort-everything-by-last-changed-by-default/5398 "2024-05-05T06:13:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Urchello](https://avatars.discourse-cdn.com/v4/letter/u/c4cdca/32.png) [@Urchello](https://gramps.discourse.group/u/Urchello)\
**Post date:** [May 5, 2024, 6:13am UTC](https://gramps.discourse.group/t/sort-everything-by-last-changed-by-default/5398/1 "2024-05-05T06:13:28Z")

</div>

Before start working with Gramps I do the same thing: I click the “Last Changed” columns to reorder all my lists:

- People (not grouped list)
- Sources (not citation tree)
- Citations
- Media

It is fast, but I do it every day during the last 2 years. I think it would be great make sorting by “Last Changed” as a default behavior. Is it possible make this via Settings, .ini or directly in code and how?

And just interesting - which column do you use as a default sorting behavior?

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [May 5, 2024, 11:02am UTC](https://gramps.discourse.group/t/sort-everything-by-last-changed-by-default/5398/2 "2024-05-05T11:02:02Z")

</div>

In any list view, the first column is always the default sort. You can make the Last Changed column the first column in the view’s Configuration ![Gramps-config](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/c/c960142dab57646aa0f7116761a22a6ed544b9e2.png) where you can select which columns to display. You can also move columns into a different order using drag-n-drop within the configuration list.

You may be interested in the [Last Modified addon](https://github.com/cdhorn/LastModified) created by @cdhorn. It must be manually installed. When loaded on the Dashboard, it loads its list without regard to category. Individual categories can be selected. When added to a View’s sidebar, that view’s list will be the default display.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [May 5, 2024, 11:35am UTC](https://gramps.discourse.group/t/sort-everything-by-last-changed-by-default/5398/3 "2024-05-05T11:35:35Z")

</div>

There is also the [Last Change addon](https://gramps-project.org/wiki/index.php/Addon:LastChange) available through Gramps.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [May 5, 2024, 11:46am UTC](https://gramps.discourse.group/t/sort-everything-by-last-changed-by-default/5398/4 "2024-05-05T11:46:10Z")

</div>

> [@Urchello](#):
>
> And just interesting - which column do you use as a default sorting behavior?

People - ID  
Families - ID (rarely use the view)  
Places - ID (use the Place Tree almost exclusively)  
Events - ID (use only for cleaning)  
Repositories - Name  
Sources - Title  
Citations - ID (use only for cleaning)  
Media - Path  
Notes - ID (use only for cleaning)

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [May 5, 2024, 1:03pm UTC](https://gramps.discourse.group/t/sort-everything-by-last-changed-by-default/5398/5 "2024-05-05T13:03:28Z")

</div>

Aren’t the Place Tree and Grouped People view modes locked to the Grouping column as the 1st column?

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [May 5, 2024, 1:53pm UTC](https://gramps.discourse.group/t/sort-everything-by-last-changed-by-default/5398/6 "2024-05-05T13:53:10Z")

</div>

Yes! Which is why I and @Urchello did not include them nor the Citation Tree in the default sort query.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [June 4, 2024, 1:54pm UTC](https://gramps.discourse.group/t/sort-everything-by-last-changed-by-default/5398/7 "2024-06-04T13:54:09Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
