How to Sort Table Data in Dreamweaver - dummies

How to Sort Table Data in Dreamweaver

By Janine Warner

When you’re working with lots of columnar data, you want to sort that data just as you do in a spreadsheet program. In Dreamweaver, you can sort data even after you format it in HTML but you don’t have as many options as you do in Excel. For example, you can sort an entire table based on a specified row, but you can’t sort different rows individually.

To use the Sort Table Data feature, create a new, blank HTML page, add a table with several rows and columns, and add some content. You may also open an existing page with a table of columnar data. Then, follow these steps:

  1. Select the table you want to sort.

    To select a table for sorting, simply place the cursor in any cell of the table you want to sort.

  2. Choose Commands→Sort Table.

    The Sort Table dialog box appears.


  3. Specify which column you want to sort by and then choose Alphabetically or Numerically and then Ascending or Descending.

    You can set up one or two sorts to happen simultaneously and opt whether to include the first row and whether to keep the <tr> (table row) attributes with a sorted row by selecting Keep All Row Colors the Same.

  4. Click OK.

    The selected cells are sorted, just as they are in a program such as Excel. (Pretty cool, huh?)