Fixed initial sorting of loaded documents, disabled advanced search