{"id":15726629,"url":"https://github.com/aashrafh/sortizer","last_synced_at":"2025-10-31T15:03:29.733Z","repository":{"id":122911650,"uuid":"309191358","full_name":"aashrafh/sortizer","owner":"aashrafh","description":"Analysis of Sorting Algorithms","archived":false,"fork":false,"pushed_at":"2020-11-08T10:29:33.000Z","size":2663,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T06:49:32.965Z","etag":null,"topics":["algorithms","analysis","assignment","college-assignment","hybrid","insertion-sort","mergesort","quicksort","selection-sort","sort","sorting","sorting-algorithms"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aashrafh.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-01T21:25:51.000Z","updated_at":"2021-01-14T09:38:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c564c06-9125-41b4-b5b9-6aff6bb3438a","html_url":"https://github.com/aashrafh/sortizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aashrafh%2Fsortizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aashrafh%2Fsortizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aashrafh%2Fsortizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aashrafh%2Fsortizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aashrafh","download_url":"https://codeload.github.com/aashrafh/sortizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246403893,"owners_count":20771526,"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":["algorithms","analysis","assignment","college-assignment","hybrid","insertion-sort","mergesort","quicksort","selection-sort","sort","sorting","sorting-algorithms"],"created_at":"2024-10-03T22:28:06.126Z","updated_at":"2025-10-31T15:03:29.685Z","avatar_url":"https://github.com/aashrafh.png","language":"C++","readme":"# Sortizer\n\n## 📝 Table of Contents\n- [About](#about)\n- [Stats](#screenshots)\n- [Tools](#tech)\n- [Run](#Install)\n\n## 🧐 About \u003ca name = \"about\"\u003e\u003c/a\u003e\nImplementation of some of the sorting algorithms with an evaluation of the performance of these algorithms and test their performance on large datasets. It's a college assignment for the \u003cstrong\u003eCMP302A6: Design and Analysis of Algorithms course\u003c/strong\u003e implemented using C++ under Linux.\n\nThe implemented algorithms:\n- [x] Selection Sort\n- [x] Insertion Sort\n- [x] Merge Sort\n- [x] Quick Sort\n- [x] Hybrid Sort\n\n## :bar_chart: Stats \n\u003cdiv name=\"screenshots\" align=\"center\" width=1189px\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/aashrafh/sortizer/blob/main/stats/random_performance.png\" alt=\"Image Demo\" width=\"500\"\u003e\u003cbr/\u003e\n    \u003cimg src=\"https://github.com/aashrafh/sortizer/blob/main/stats/random_performance_table.png.png\" alt=\"Image Demo\" width=\"500\"\u003e\u003cbr/\u003e\n    \u003cimg src=\"https://github.com/aashrafh/sortizer/blob/main/stats/sorted_performance.png\" alt=\"Image Demo\" width=\"500\"\u003e\u003cbr/\u003e\n    \u003cimg src=\"https://github.com/aashrafh/sortizer/blob/main/stats/sorted_performance_table.png.png\" alt=\"Image Demo\" width=\"500\"\u003e\n  \u003c/p\u003e\n  \u003c/div\u003e\n\n## ⛏️ Built Using \u003ca name = \"tech\"\u003e\u003c/a\u003e\n- \u003cstrong\u003eC++\u003c/strong\u003e: Implement the algorithms\n- \u003cstrong\u003ePython\u003c/strong\u003e: Generate the random data, and plot the stats\n- \u003cstrong\u003eShell Script\u003c/strong\u003e: Automate the test from the terminal\n\n\n## :computer: Install \u003ca name = \"Install\"\u003e\u003c/a\u003e\nOpen the ```src``` directory and then:\n### Automate Test\n```\nsudo chmod +x ./test.sh\n./test.sh\n```\n### Generate Random Data\n```\npython runscript.py \u003csize of the data\u003e \u003cpath of the output file\u003e\n```\nExample:\n```\npython runscript.py 100 data.txt\n```\n### Compile\n```\ng++ -O2 sort.cpp\n```\n\n### Run\n```\n./a.out \u003cThe algorithm number\u003e \u003cThe path of the input file\u003e \u003cThe path of the output file\u003e \u003cThe path of the stats file\u003e\n```\nExample:\n```\n./a.out 1 data.txt sorted_data.txt running_time.txt\n```\n### Plot\n```\npython plot_charts.py\npython plot_tables.py\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faashrafh%2Fsortizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faashrafh%2Fsortizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faashrafh%2Fsortizer/lists"}