I am trying to order the results based on the number of \"likes\".
The most obvious solution is to have a \"likes\" field for each row and re-index
Also take a look at click-through relevance ranking presentation
Take a look at ExternalFileField. There isn't a lot of documentation about it at the moment, but see this presentation.