Get started with tinysort CDN

MIT/GPL licensed

Tinysort is a minimalistic, fast, and versatile library for sorting arrays.

Tags:
  • sort
  • list
  • table
  • dom
  • html

Stable version

Copied!

How to start using tinysort CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with tinysort CDN - cdnhub.io</title>
    <script src="https://cdn.cdnhub.io/tinysort/3.2.8/tinysort.min.js"></script>
</head>
<body>
    <script>
        const data = [
            { name: 'John Doe', age: 25 },
            { name: 'Jane Doe', age: 30 },
            { name: 'Bob Smith', age: 20 },
            { name: 'Alice Johnson', age: 35 }
        ];

        TinySort(data).descend('age');

        console.log(data);
    </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions