documents: implementa declaração 'order by' em Query.

Signed-off-by: Francisco Prates <mad.kanie@gmail.com>