change how i order the results when sent back to the user