Checking in sorted advanced search results table. Not finished yet but very close