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

Sorting standards not working as expected #61

Open
samroy92 opened this issue Apr 24, 2019 · 1 comment
Open

Sorting standards not working as expected #61

samroy92 opened this issue Apr 24, 2019 · 1 comment

Comments

@samroy92
Copy link

https://github.com/strongdm/comply/blob/master/internal/render/controller.go#L82

The sort algorithm in Go library sorting for example:

A1
A11
A111
A2

Instead of:
A1
A2
A11
A111

I think a fix might look something like this: https://softwareengineering.stackexchange.com/questions/127639/why-do-some-sorting-methods-sort-by-1-10-2-3

But not sure, this is low priority, visual only. I am using FISMA NIST 800-53 standards that employ this type of formating: AC-1, AC-1(1), AC-1(2), etc.

@samroy92
Copy link
Author

An option to disable sorting would be nice as well, I am using the docker container so it's hard to rebuild.

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

1 participant