DataView does all sorting, grouping / filtering, etc. on the client because it has access to all the data. If you do this on a server, you will have to implement all of this in your server data server-side. There is no prescribed way to do this, since all the backend and needs are different.
source
share