Skip to content

Sort CSV rows when exporting #11427

Open
@ftrebien

Description

@ftrebien

Summary

When exporting to a CSV file, it would be helpful to allow entries to be exported in a natural sort order, ignoring the case. This should provide consistency across exports and make comparing databases easier.

Examples

Consider a database export with the following items in random order:

Group Title Username
Base/Work system B myuser3
Base/Work System A myuser11
Base/Work system A myuser2
Base/Home system C myuser4

With a natural sort order, the output would always be ordered by Group, then Title, then Username, and so on:

Group Title Username
Base/Home system C myuser4
Base/Work system A myuser2
Base/Work System A myuser11
Base/Work system B myuser3

Context

When items are in a random order, users need to manually sort each CSV file before comparing databases. Although an advanced merge feature is in development, there are some cases (such as comparing databases managed by different people) that may require manual resolution of the differences. For example, a user may choose to keep an older entry after learning a newer entry in another database is incorrect or poorly renamed, or they might prefer to resolve differences in various ways, such as assigning a more descriptive title, moving an entry to another group, or even splitting a conflicting entry into separate entries.

Metadata

Metadata

Assignees

Projects

Status

To triage

Relationships

None yet

Development

No branches or pull requests

Issue actions