title: Sorting the spreadsheet columns keywords: Jexcel, spreadsheet, javascript, javascript table, sorting description: Example how to sort the table by a column via javascript. [Back to Examples](/jspreadsheet/v3/examples "Back to the examples section") # Sorting your table ## Simple example You can sort your javascript table by double a double click in the header, using the context menu or by javascript as follow: ```html

``` ## Disable the table sorting The ordering is a native enabled feature. To disable that feature please use the columnSorting:false, directive in the initialization. ```html
```