JavaScript implementation of Selection Sort with support for custom comparator functions, allowing ascending, descending, or custom ordering. Features in-place sorting, robust input validation, optimized swaps, and modular ESM structure with demonstration scripts.
nodejs javascript algorithm frontend homework sorting-algorithms selection-sort esm array-utils comporator modular-code in-place-sorting manual-implementation
-
Updated
Mar 2, 2026 - JavaScript