Query
SELECT Name,Phone FROM Account ORDER BY Name
This query will display all the records of the Account object by ordering them by name alphabetically from A to Z.
SELECT Name,Phone FROM Account ORDER BY Name ASC
You will get the same results when you use ASC after Name.
SELECT Name,Phone FROM Account ORDER BY Name DESC
If you want the records ordered from Z to A alphabetically , then you need insert DESC
right after the name.
Video
Video does not exists.