Order results upon presentation

(Patch by Luís Sergio Oliveira.)