{"id":38919970,"url":"https://github.com/facette/natsort","last_synced_at":"2026-01-17T15:32:41.741Z","repository":{"id":31353674,"uuid":"34916498","full_name":"facette/natsort","owner":"facette","description":"Natural strings sorting in Go","archived":false,"fork":false,"pushed_at":"2024-06-20T01:14:00.000Z","size":4,"stargazers_count":78,"open_issues_count":1,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-11T03:26:52.798Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/facette.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-01T18:13:05.000Z","updated_at":"2025-06-10T10:22:05.000Z","dependencies_parsed_at":"2022-08-03T15:00:12.236Z","dependency_job_id":null,"html_url":"https://github.com/facette/natsort","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/facette/natsort","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facette%2Fnatsort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facette%2Fnatsort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facette%2Fnatsort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facette%2Fnatsort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/facette","download_url":"https://codeload.github.com/facette/natsort/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facette%2Fnatsort/sbom","scorecard":{"id":391041,"data":{"date":"2025-08-11","repo":{"name":"github.com/facette/natsort","commit":"2cd4dd1e2dcba4d85d6d3ead4adf4cfd2b70caf2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":1,"reason":"Found 1/6 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T17:48:59.447Z","repository_id":31353674,"created_at":"2025-08-18T17:48:59.447Z","updated_at":"2025-08-18T17:48:59.447Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T15:32:41.639Z","updated_at":"2026-01-17T15:32:41.713Z","avatar_url":"https://github.com/facette.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# natsort: natural strings sorting in Go\n\nThis is an implementation of the \"Alphanum Algorithm\" by [Dave Koelle][0] in Go.\n\n[![GoDoc](https://godoc.org/facette.io/natsort?status.svg)](https://godoc.org/facette.io/natsort)\n\n## Usage\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"strings\"\n\n    \"facette.io/natsort\"\n)\n\nfunc main() {\n    list := []string{\n        \"1000X Radonius Maximus\",\n        \"10X Radonius\",\n        \"200X Radonius\",\n        \"20X Radonius\",\n        \"20X Radonius Prime\",\n        \"30X Radonius\",\n        \"40X Radonius\",\n        \"Allegia 50 Clasteron\",\n        \"Allegia 500 Clasteron\",\n        \"Allegia 50B Clasteron\",\n        \"Allegia 51 Clasteron\",\n        \"Allegia 6R Clasteron\",\n        \"Alpha 100\",\n        \"Alpha 2\",\n        \"Alpha 200\",\n        \"Alpha 2A\",\n        \"Alpha 2A-8000\",\n        \"Alpha 2A-900\",\n        \"Callisto Morphamax\",\n        \"Callisto Morphamax 500\",\n        \"Callisto Morphamax 5000\",\n        \"Callisto Morphamax 600\",\n        \"Callisto Morphamax 6000 SE\",\n        \"Callisto Morphamax 6000 SE2\",\n        \"Callisto Morphamax 700\",\n        \"Callisto Morphamax 7000\",\n        \"Xiph Xlater 10000\",\n        \"Xiph Xlater 2000\",\n        \"Xiph Xlater 300\",\n        \"Xiph Xlater 40\",\n        \"Xiph Xlater 5\",\n        \"Xiph Xlater 50\",\n        \"Xiph Xlater 500\",\n        \"Xiph Xlater 5000\",\n        \"Xiph Xlater 58\",\n    }\n\n    natsort.Sort(list)\n\n    fmt.Println(strings.Join(list, \"\\n\"))\n}\n```\n\nOutput:\n\n```\n10X Radonius\n20X Radonius\n20X Radonius Prime\n30X Radonius\n40X Radonius\n200X Radonius\n1000X Radonius Maximus\nAllegia 6R Clasteron\nAllegia 50 Clasteron\nAllegia 50B Clasteron\nAllegia 51 Clasteron\nAllegia 500 Clasteron\nAlpha 2\nAlpha 2A\nAlpha 2A-900\nAlpha 2A-8000\nAlpha 100\nAlpha 200\nCallisto Morphamax\nCallisto Morphamax 500\nCallisto Morphamax 600\nCallisto Morphamax 700\nCallisto Morphamax 5000\nCallisto Morphamax 6000 SE\nCallisto Morphamax 6000 SE2\nCallisto Morphamax 7000\nXiph Xlater 5\nXiph Xlater 40\nXiph Xlater 50\nXiph Xlater 58\nXiph Xlater 300\nXiph Xlater 500\nXiph Xlater 2000\nXiph Xlater 5000\nXiph Xlater 10000\n```\n\n[0]: http://davekoelle.com/alphanum.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffacette%2Fnatsort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffacette%2Fnatsort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffacette%2Fnatsort/lists"}