### Sort Sample

This page is an example that illustrates the different results you can get when sorting by a single column and sorting with a secondary and tertiary column specified.

Unsorted
ID | First Name | Last Name | ds_RowID
--- | --- | --- | ---
{dsEmployees1::@id} | {dsEmployees1::firstname} | {dsEmployees1::lastname} | {dsEmployees1::ds_RowID}
Sort Column: "{dsEmployees1::ds_SortColumn}" Sort Order: "{dsEmployees1::ds_SortOrder}" |
Sort: "firstname"
ID | First Name | Last Name | ds_RowID
--- | --- | --- | ---
{dsEmployees2::@id} | {dsEmployees2::firstname} | {dsEmployees2::lastname} | {dsEmployees2::ds_RowID}
Sort Column: "{dsEmployees2::ds_SortColumn}" Sort Order: "{dsEmployees2::ds_SortOrder}" |
Sort: [ "firstname", "lastname" ]
ID | First Name | Last Name | ds_RowID
--- | --- | --- | ---
{dsEmployees3::@id} | {dsEmployees3::firstname} | {dsEmployees3::lastname} | {dsEmployees3::ds_RowID}
Sort Column: "{dsEmployees3::ds_SortColumn}" Sort Order: "{dsEmployees3::ds_SortOrder}" |
Sort: [ "firstname", "lastname", "@id" ]
ID | First Name | Last Name | ds_RowID
--- | --- | --- | ---
{dsEmployees4::@id} | {dsEmployees4::firstname} | {dsEmployees4::lastname} | {dsEmployees4::ds_RowID}
Sort Column: "{dsEmployees4::ds_SortColumn}" Sort Order: "{dsEmployees4::ds_SortOrder}"