added support for sortable file fields

I needed sortable file fields. Please review and let me know if this needs more modification. I have tested on my server and gotten sortable file_advanced fields.