Sort search results

Table in search result page can now be sorted. Implemented in javascript.