Algorithm:An algorithm is a step-by-step procedure used to solve problems or perform operations, such as sorting.
Comparison Operator: A comparison operator is used to compare two values and determine their relationship (e.g., greater than, less than).
Stable Sort: A stable sort algorithm maintains the relative order of equal elements during sorting.