/js_sort-table-DOM

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Sort table

Task

Sort the table by clicking on the header.

Requirements:

  • Use delegation.
  • The code should not change as the number of columns or rows increases.

This article may be helpful - navigation

Screenshot of the tree

screenshot


Read the guideline before start

Guideline

Result