Improve my file/search.php

I m really new with elgg, but i get some resoults to get work my personalized script to improve de search for files in my site implementation.

Features:

- Sort results
- Get just ppt, docs, zip extentions documentes as valid results
- Title and description search

Screenshoot

image