The Sort command sorts the rows in a worksheet according to the contents of selected cells in a column.