# gkoberger/stacksort

Sorts an array by downloading snippets from StackOverflow. Inspired by http://xkcd.com/1185/. I'm sorry.

Repository: https://github.com/gkoberger/stacksort
Canonical: https://ross.abutalabs.com/products/stacksort
Homepage: https://gkoberger.github.io/stacksort/
Language: JavaScript
License Family: other
Last push: 2023-06-13T19:18:21+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4918, "days_push": 1177, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1245, forks 73 (observed 2026-08-28T04:04:07.075753+00:00)

## What it is
A novelty web app inspired by xkcd 1185 that sorts arrays by fetching code snippets from StackOverflow answers and eval'ing them in the browser. It's a joke project, not a production sorting library.

## Use cases
- sort an array using stack overflow snippets
- demo of running arbitrary code in the browser
- novelty project to show friends
- learn how stack overflow api scraping works

## When to choose
- you want a fun xkcd-inspired demo
- you're exploring the StackOverflow API

## When to avoid
- you need a real, reliable sorting implementation
- security matters - it evals untrusted code
- production use of any kind

## Facets
- artifact type: application
- maturity: maintenance
- function: search-engine, developer-tools
- domain: developer-tools, web-development
- platform: browser
- tags: novelty, xkcd, stack-overflow, sorting, humor, eval, algorithms, javascript

## Member repositories
- gkoberger/stacksort (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:07.075753+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:08:09.939454+00:00, confidence not recorded.
  - readme: https://github.com/gkoberger/stacksort (fetched 2026-08-28T04:04:07.075753+00:00, sha aa7222804109)
  - homepage: https://gkoberger.github.io/stacksort/ (fetched 2026-08-29T12:19:43.766231+00:00, sha a4005d3049b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
