Add sort feature. Not sorting by JS, it's a lot of JS implementation whi...

...ch is more complex than doing it from the server.