1. A computer-implemented method of ordering query results, comprising: in response to a query issued by a requesting entity: receiving a list of data records ordered according to an initial order, the list of data records defining a result set for the query; identifying an analysis routine configured for processing the result set of the query; determining a suitability score for each data record in the list, the suitability score indicating a relative suitability of the data record as input to the identified analysis routine; sorting the received list of data records on the basis of the determined suitability scores; and inputting the sorted list of data records to the identified analysis routine.