Red Hat Training

A Red Hat training course is available for Red Hat JBoss Web Server

14.12. The Order by Clause

The list returned by a query can be ordered by any property of a returned class or components:
from DomesticCat cat
order by cat.name asc, cat.weight desc, cat.birthdate
The optional asc or desc indicate ascending or descending order respectively.