sorting thru multipe fields in grid

HI ,How can i sort thru multiple fields in grid.
ex:LastName,FirstName

There’s an API Array.sortByProperties() that allows you to specify a multi-column sort. Currently there’s no UI built into the grid for triggering this, but that feature is coming soon.