Thanks plog for your answer.
The ORDER BY has two sorts, first by name (ascending) and then by date (descending) (SQL: ORDER BY Tabla1.Name_c, Tabla1.Date_Id DESC;)
The purpose of the query that I need is to "rank", per person, the different dates I have...