SortBench: Benchmarking LLMs based on their ability to sort lists
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Sorting is a tedious but simple task for human intelligence and can be solved fairly easily algorithmically. However, for Large Language Models (LLMs) this task is surprisingly hard, as some properties of sorting are among known weaknesses of LLMs: being faithful to the input data, logical comparisons between values, and strictly differentiating between syntax (used for sorting) and semantics (typically learned by embeddings). Within this paper, we describe the new SortBench benchmark for LLMs that comes with different difficulties and that can be easily scaled in terms of difficulty. We apply this benchmark to seven state-of-the-art LLMs, including current test-time reasoning models. Our results show that while the o3-mini model is very capable at sorting in general, even this can be fooled if strings are defined to mix syntactical and semantical aspects, e.g., by asking to sort numbers written-out as word. Furthermore, all models have problems with the faithfulness to the input of long lists, i.e., they drop items and add new ones. Our results also show that test-time reasoning has a tendency to overthink problems which leads to performance degradation. Finally, models without test-time reasoning like GPT-4o are not much worse than reasoning models.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 9 of its 21 references that are in the map. First posted on arXiv 11 Apr 2025.
Builds on
9 of 21 references.
References · 9
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2024GPT-4o System Cardcited by 4,588
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2023Instruction Tuning for Large Language Models: A Surveycited by 623
- 2016Time for a change: a tutorial for comparing multiple classifiers through Bayesian analysiscited by 93
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2026Omissive Bias in Religious Representation: Benchmarking LLM Answers to Everyday Ethical Decision-makingcited by 2
- 2025Higher Embedding Dimension Creates a Stronger World Model for a Simple Sorting Taskcited by 0
- 2026Semantic Content Determines Algorithmic Performancecited by 0
- 2026PRIME: Policy-Reinforced Iterative Multi-agent Execution for Algorithmic Reasoning in Large Language Modelscited by 0
- 2026Omissive Bias in Religious Representation: Benchmarking LLM Answers to Everyday Ethical Decision-making23 May 2026
- 2026Semantic Content Determines Algorithmic Performance29 Jan 2026
- 2026PRIME: Policy-Reinforced Iterative Multi-agent Execution for Algorithmic Reasoning in Large Language Models19 Jan 2026
- 2025Higher Embedding Dimension Creates a Stronger World Model for a Simple Sorting Task21 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2025RUST-BENCH: Benchmarking LLM Reasoning on Unstructured Text within Structured Tables
- 2024metabench -- A Sparse Benchmark of Reasoning and Knowledge in Large Language Models
- 2024MLissard: Multilingual Long and Simple Sequential Reasoning Benchmarks
- 2025Evaluating LLMs' Reasoning Over Ordered Procedural Steps
- 2025Can LLMs Reason Structurally? Benchmarking via the Lens of Data Structures
- 2024Premise Order Matters in Reasoning with Large Language Models
- 2024AQA-Bench: An Interactive Benchmark for Evaluating LLMs' Sequential Reasoning Ability
- 2024RankPrompt: Step-by-Step Comparisons Make Language Models Better Reasoners