Order the result of the search method by the primary key