{"id":16406884,"url":"https://github.com/terror/sort","last_synced_at":"2026-06-13T06:31:45.756Z","repository":{"id":52603866,"uuid":"282811075","full_name":"terror/sort","owner":"terror","description":"Sorting algorithm implementations in Python3","archived":false,"fork":false,"pushed_at":"2022-12-26T21:37:34.000Z","size":21,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-13T11:46:14.605Z","etag":null,"topics":["sorting-algorithms"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terror.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-27T06:20:06.000Z","updated_at":"2023-03-07T18:32:22.000Z","dependencies_parsed_at":"2023-01-31T02:00:21.324Z","dependency_job_id":null,"html_url":"https://github.com/terror/sort","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/terror/sort","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fsort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fsort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fsort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fsort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terror","download_url":"https://codeload.github.com/terror/sort/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terror%2Fsort/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34275065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["sorting-algorithms"],"created_at":"2024-10-11T06:11:13.860Z","updated_at":"2026-06-13T06:31:45.718Z","avatar_url":"https://github.com/terror.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## \u003cp align='center'\u003esort\u003c/p\u003e\n\u003cp align='center'\u003e\n\u003cimg src=\"https://github.com/terror/sort/actions/workflows/ci.yml/badge.svg\"\u003e\n\u003c/p\u003e\n\n\u003cp align='center'\u003eSorting algorithm implementations in Python3!\u003c/p\u003e\n\n## Contents\n\n[Counting sort](https://github.com/terror/sort/blob/master/sort/counting_sort.py)\u003cbr/\u003e\n[Quick sort](https://github.com/terror/sort/blob/master/sort/quick_sort.py)\u003cbr/\u003e\n[Merge sort](https://github.com/terror/sort/blob/master/sort/merge_sort.py)\u003cbr/\u003e\n[Heap sort](https://github.com/terror/sort/blob/master/sort/heap_sort.py)\u003cbr/\u003e\n[Bubble sort](https://github.com/terror/sort/blob/master/sort/bubble_sort.py)\u003cbr/\u003e\n[Insertion sort](https://github.com/terror/sort/blob/master/sort/insertion_sort.py)\u003cbr/\u003e\n[Selection sort](https://github.com/terror/st/blob/master/sort/selection_sort.py)\u003cbr/\u003e\n[Stooge sort](https://github.com/terror/sort/blob/master/sort/stooge_sort.py)\u003cbr/\u003e\n[Pigeonhole sort](https://github.com/terror/sort/blob/master/sort/pigeonhole_sort.py)\u003cbr/\u003e\n[Pancake sort](https://github.com/terror/sort/blob/master/sort/pancake_sort.py)\n\n\n## Benchmarks\n\nN = 100\n\n```\n+-----------------+-----------+\n|    Algorithm    |    Time   |\n+-----------------+-----------+\n|  Counting sort  |  0.0006s  |\n| Pigeonhole sort |  0.0001s  |\n|    Quick sort   |  0.0001s  |\n|    Merge sort   |  0.0002s  |\n|    Heap sort    |  0.0000s  |\n|   Pancake sort  |  0.0007s  |\n|   Bubble sort   |  0.0007s  |\n|  Insertion sort |  0.0004s  |\n|  Selection sort |  0.0005s  |\n|   Stooge sort   |  0.0695s  |\n+-----------------+-----------+\n```\n\nN = 1000\n\n```\n+-----------------+-----------+\n|    Algorithm    |    Time   |\n+-----------------+-----------+\n|  Counting sort  |  0.0424s  |\n| Pigeonhole sort |  0.0003s  |\n|    Quick sort   |  0.0016s  |\n|    Merge sort   |  0.0034s  |\n|    Heap sort    |  0.0003s  |\n|   Pancake sort  |  0.0621s  |\n|   Bubble sort   |  0.0779s  |\n|  Insertion sort |  0.0490s  |\n|  Selection sort |  0.0471s  |\n|   Stooge sort   |  17.7174s |\n+-----------------+-----------+\n```\n\nN = 2500\n\n```\n+-----------------+-----------+\n|    Algorithm    |    Time   |\n+-----------------+-----------+\n|  Counting sort  |  0.2603s  |\n| Pigeonhole sort |  0.0008s  |\n|    Quick sort   |  0.0045s  |\n|    Merge sort   |  0.0089s  |\n|    Heap sort    |  0.0009s  |\n|   Pancake sort  |  0.3859s  |\n|   Bubble sort   |  0.5083s  |\n|  Insertion sort |  0.3186s  |\n|  Selection sort |  0.2812s  |\n|   Stooge sort   | 513.7399s |\n+-----------------+-----------+\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterror%2Fsort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterror%2Fsort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterror%2Fsort/lists"}