A lightweight jQuery plugin for adding simple, customizable table sorting functionality to HTML tables.
Stupid jQuery Table Sort is a lightweight jQuery plugin that adds sorting functionality to HTML tables with minimal setup. It solves the problem of implementing client-side table sorting without heavy dependencies or complex configuration, offering essential features like multi-column sorting, custom data types, and programmatic control.
Frontend developers and web designers who need to add simple, performant sorting to static or dynamically generated HTML tables using jQuery.
Developers choose this plugin for its extreme simplicity, small footprint, and ease of integration—it requires just one line of code to activate basic sorting while providing hooks for customization when needed.
A stupidly small and simple jQuery table sorter plugin
With only a dependency on jQuery 1.7+, the plugin is extremely lightweight, activating sorting with just one line of code ($('table').stupidtable()), making it ideal for performance-conscious projects.
It supports custom sorting functions via plugin configuration, allowing developers to handle complex data types like dates or alphanumeric strings, as shown in the README's alphanum example.
The data-sort-value attribute enables sorting by computer-friendly values while displaying human-friendly text, useful for timestamps or formatted numbers without altering display content.
Settings like will_manually_build_table and should_redraw provide fine-grained control over table redraws, optimizing for static or large tables by reducing DOM reads.
As a jQuery plugin, it's incompatible with modern JavaScript frameworks that avoid jQuery, limiting its use in contemporary web development stacks.
Sorting requires adding data-sort attributes to table headers, which can be cumbersome and error-prone for dynamically generated or complex tables, increasing setup time.
Beyond basic sorting, it lacks common table enhancements like filtering, pagination, or advanced styling, necessitating additional plugins or custom code for full functionality.
:revolving_hearts: Filter & sort magical layouts
jQuery grid plugin
jQuery plugin to make HTML tables responsive
Lightweight Grid jQuery Plugin
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.