Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort order for Child IDs #49

Open
SLornieCYC opened this issue Aug 24, 2021 · 4 comments
Open

Sort order for Child IDs #49

SLornieCYC opened this issue Aug 24, 2021 · 4 comments

Comments

@SLornieCYC
Copy link

Child ID should be sorted when provided in lists - e.g. the filter list in-browser and for the csv export.

@mwaddoups
Copy link
Contributor

What is a sensible sorting for this?

I wasn't sure if it was best to sort them numerically, or by number of errors descending, or keep the original sorting of the export - what do you think?

@SLornieCYC
Copy link
Author

Good point! I'd thought initially alphanumerically by ID would be most logical as that way even through multiple re-loads the data will always be presented in the same order. It can be frustrating if you're trying to work through record by record and each time you look they turn up in a different order.

I've only tried using the fake data files so far and thought the ordering might be arbitrary/random from the process of loading data in. If it's based on the source file that is probably alright as (I imagine) in most cases the file will already be ordered.

Sorting by errors might be interesting although arguably that could be skewed by cases where one /actual/ error triggers half a dozen inter-related error codes (vs other records with multiple discrete errors each only flagged once). Maybe it would be better dealt with via sort handles on the list in-browser?

@mwaddoups
Copy link
Contributor

These are really good ideas!

I think I agree with you - for a first step I will put in alphanumeric sorting just for that repeatability, then I will look into options for other sorting. I can see it being a pain just having to scroll to find the children with the worst errors.

@mwaddoups
Copy link
Contributor

I have added the alphanumeric sorting now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants