A Critical Comparison on Different Sorting Algorithm Performance

In Computer Science, Sorting is a very basic and important issue. This is most important because it increase the value to the data and makes easier to manage and modify a sorted data. But there are lots of algorithms to sort a data, which varies from the type of data to be sorted and amount of data to be sorted. Studies done on sorting algorithms are limited on theory and there are some comparisons done on less amount of data, but some sorting algorithms changes their behavior when amount of data is increased. In this article we have picked five popular algorithms (Bubble Sort, Insertion Sort, Merge Sort, Quick Sort, Selection Sort) and compare them on the basics of their performance on a predefined set of unsorted and sorted data of length 1000, 3000, 5000 and provide an overview on the performance. Comparisons are made on their performance or time consumed by each algorithm to process the sorted and unsorted data and represented them in form of tabular and graphs so we can have a proper conclusion. We have developed programs on C++ of every algorithm and print out the compile time of algorithm using C++ libraries. After performing more than 10 tests on every algorithm we found that the property of these algorithms changes drastically when we increase the amount of data, and the type of data unsorted and sorted in ascending or descending. Our goal is finding the right sorting algorithm for the right situation not every algorithm can stand all situation.

Authors

Institutions

Publication Details

Published
2025-04-24
DOI
https://doi.org/10.1109/amathe65477.2025.11080892
Primary Topic
Algorithms and Data Compression
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Critical Comparison on Different Sorting Algorithm Performance

Jagvinder Singh, Tanya, M. H. M. Rashid, D. Baweja
Algorithms and Data Compression
article

A Critical Comparison on Different Sorting Algorithm Performance

Jagvinder Singh, Tanya, M. H. M. Rashid, D. Baweja
article en

Abstract

In Computer Science, Sorting is a very basic and important issue. This is most important because it increase the value to the data and makes easier to manage and modify a sorted data. But there are lots of algorithms to sort a data, which varies from the type of data to be sorted and amount of data to be sorted. Studies done on sorting algorithms are limited on theory and there are some comparisons done on less amount of data, but some sorting algorithms changes their behavior when amount of data is increased. In this article we have picked five popular algorithms (Bubble Sort, Insertion Sort, Merge Sort, Quick Sort, Selection Sort) and compare them on the basics of their performance on a predefined set of unsorted and sorted data of length 1000, 3000, 5000 and provide an overview on the performance. Comparisons are made on their performance or time consumed by each algorithm to process the sorted and unsorted data and represented them in form of tabular and graphs so we can have a proper conclusion. We have developed programs on C++ of every algorithm and print out the compile time of algorithm using C++ libraries. After performing more than 10 tests on every algorithm we found that the property of these algorithms changes drastically when we increase the amount of data, and the type of data unsorted and sorted in ascending or descending. Our goal is finding the right sorting algorithm for the right situation not every algorithm can stand all situation.

Chandigarh University (IN)
Openalex Percentile: Top 91%
Algorithms and Data Compression
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.