{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/is-this-the-simplest-and-most-surprising","title":"Is this the simplest (and most surprising) sorting algorithm ever?","arxiv_id":"2110.01111","date":"2021-10-03","proceeding":null,"authors":["Stanley P. Y. Fung"],"abstract":"We present an extremely simple sorting algorithm. It may look like it is obviously wrong, but we prove that it is in fact correct. We compare it with other simple sorting algorithms, and analyse some of its curious properties.","url_abs":"https://arxiv.org/abs/2110.01111v1","url_pdf":"https://arxiv.org/pdf/2110.01111v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"is-this-the-simplest-and-most-surprising","repo_url":"https://github.com/h-nitobe/I-cant-believe-can-sort","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null},{"paper_slug":"is-this-the-simplest-and-most-surprising","repo_url":"https://github.com/jefflunt/unbelievable-sort","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null},{"paper_slug":"is-this-the-simplest-and-most-surprising","repo_url":"https://github.com/makotia/i_cant_believe_it_can","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null},{"paper_slug":"is-this-the-simplest-and-most-surprising","repo_url":"https://github.com/mattn/i_cant_believe_it_can","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null},{"paper_slug":"is-this-the-simplest-and-most-surprising","repo_url":"https://github.com/mdwhatcott/simple-sort","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null},{"paper_slug":"is-this-the-simplest-and-most-surprising","repo_url":"https://github.com/theshteves/simplest-sort","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null},{"paper_slug":"is-this-the-simplest-and-most-surprising","repo_url":"https://github.com/treastrain/ICantBelieveItCanSort.swift","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null},{"paper_slug":"is-this-the-simplest-and-most-surprising","repo_url":"https://github.com/zhaoolee/garss","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"is-this-the-simplest-and-most-surprising","repo_url":"https://github.com/PCBoyGames/ArrayV-v4.0/blob/PCBoy's-Personal-Build/src/sorts/exchange/UnbelievableSort.java","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}