{"id":21224009,"url":"https://github.com/sam-k0/mogussort","last_synced_at":"2025-07-10T14:31:15.267Z","repository":{"id":90026431,"uuid":"442184837","full_name":"sam-k0/Mogussort","owner":"sam-k0","description":"World's 📮SUSSIEST📮 sorting algorithm","archived":false,"fork":false,"pushed_at":"2023-05-07T10:48:44.000Z","size":22532,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"imposter","last_synced_at":"2025-04-05T14:22:25.246Z","etag":null,"topics":["algorithm","amogus","baka","imposter","imposter-syndrome","sorting-algorithm","sorting-algorithms","sus","sussy","sussybaka","zussy-ballz"],"latest_commit_sha":null,"homepage":"","language":"C++","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/sam-k0.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-27T14:37:13.000Z","updated_at":"2024-09-14T10:17:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"c295c4b5-f084-4cbf-be08-c75eef60bdb6","html_url":"https://github.com/sam-k0/Mogussort","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sam-k0/Mogussort","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam-k0%2FMogussort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam-k0%2FMogussort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam-k0%2FMogussort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam-k0%2FMogussort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sam-k0","download_url":"https://codeload.github.com/sam-k0/Mogussort/tar.gz/refs/heads/imposter","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam-k0%2FMogussort/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264590916,"owners_count":23633665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["algorithm","amogus","baka","imposter","imposter-syndrome","sorting-algorithm","sorting-algorithms","sus","sussy","sussybaka","zussy-ballz"],"created_at":"2024-11-20T22:54:30.201Z","updated_at":"2025-07-10T14:31:15.262Z","avatar_url":"https://github.com/sam-k0.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📮Mogussort\nWorld's (📮)SUSSIEST sorting algorithm\n\n#News:\nThere are now 2 python implementations ready for you:\n- MogussortPy in this repo\n- 9FS' Mogussort containing extra mathematical information about performance: https://github.com/9-FS/2023-04-10-Mogussort\n\n# 📮Lore📮\nYour normal and boring sorting algorithms are just too fast?\nYou want to introduce some sussy code to your programs?\n\nThen you have come to the right place.\n\n# 📮How it works📮\nThere are 2 (two, 2📮) tuples, I and O.\nI contains all crewmates at the start of the game.\nO is empty.\n\nThe algorithm will vote out one random crewmate and put it in O.\nThat crewmate is then removed from I.\nThen, it checks if O is correctly sorted (ascending).\n\nIf it is correnct, it will continue to vote and populate O.\n\nIf the crewmates are not in the right order an 📮Imposter📮(sus, baka) has been spotted.\nThis means that the game is lost, and O will be cleared, and I will be reset to the original form.\n\nThe algorithm will stop once all crewmates are in the right order.\n\n# 📮Performance📮\nThe 📮mogussort solves all of your sorting problems with an incredible, luck based runtime. You might ask \"how fast is it exactly?\". On average ist is an absolutly fantastic 36288x slower than a regular bubblesort (with 10 elements (crewmates)).\n\nThis even means you might be able to play a game of Among Us while you wait for the algoritm to finish (now isn't that fantastic?).\n\n# 📮Example📮\n| Elements | Time | Iterations |\n|--|--|--|\n| 10 (one full 📮among📮us📮 lobby) | up to around ~96 seconds (maybe, tested on Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz) | Up to ~33.500.000 or more|\n\n# 📮Sus📮\n```c++\n⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄\n⠄⠄⠄⠄⠄⠄⠄⣀⣀⣐⡀⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄\n⠄⠄⢠⠄⣠⣶⣿⣿⣿⠿⠿⣛⣂⣀⣀⡒⠶⣶⣤⣤⣬⣀⡀⠄⢀⠄⠄⠄⠄⠄⠄⠄\n⠄⠄⢀⣾⣿⣿⣿⡟⢡⢾⣿⣿⣿⣿⣿⣿⣶⣌⠻⣿⣿⣿⣿⣷⣦⣄⡀⠄⠄⠄⠄⠄\n⠄⠄⣈⣉⡛⣿⣿⣿⡌⢇⢻⣿⣿⣿⣿⣿⠿⠛⣡⣿⣿⣿⣿⣿⣿⣿⣿⣦⣄⠄⠄⠄\n⠄⠺⠟⣉⣴⡿⠛⣩⣾⣎⠳⠿⠛⣋⣩⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣆⠄⠄\n⠄⠄⠄⠘⢋⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡆⠄\n⠄⠄⢀⢀⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠄\n⠄⠄⠄⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⣀\n⠄⠄⠄⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠘⠛\n⠄⠄⠄⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⠋⣀⣀⣠⣤\n⠄⠄⣀⣀⡙⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⢛⣩⠤⠾⠄⠛⠋⠉⢉\n⠄⠺⠿⠛⠛⠃⠄⠉⠙⠛⠛⠻⠿⠿⠿⠟⠛⠛⠛⠉⠁⠄⠄⣀⣀⣠⣤⣠⣴⣶⣼⣿\n\n\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌ \n⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌ \n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡ \n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔ \n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰ \n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌ \n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟ \n```\n\n# Language\nmade in c plus plus (more like c sus sus, hehe)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsam-k0%2Fmogussort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsam-k0%2Fmogussort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsam-k0%2Fmogussort/lists"}