For @{type} = -1 the data must be sorted in descending order; for @{type} = +1 the data must be sorted in ascending order.
@{mota} = -1erako, datuek beherantz ordenatuta egon behar dute; @{mota} = +1erako, datuek gorantz ordenatuta egon behar dute.