Display a table sorting by server side (ex. DateTable or similar)

Hi, i’ve an api who receive certains params to sort data from a json, paginate, etc…

How can i display in a table that parameters sorted by params like a DateTable or similar? It’s possible?

I’ve installed the DataTable plugin but i don’t know how to filter the info showed in the table, i’m pretty lost.