Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0
Firefox 104
Windows
Desktop
2 years ago
Test name Executions per second
Natural Sort 21382.4 Ops/sec
Natural Compare 38541.1 Ops/sec
JavaScript Natural Sort 10176.3 Ops/sec
String Natural Compare 74221.0 Ops/sec
Alphanum-Sort 41302.6 Ops/sec
Script Preparation code:
Tests:
  • Natural Sort

  • Natural Compare

  • JavaScript Natural Sort

  • String Natural Compare

  • Alphanum-Sort