[INV-414] Order search results

Framework updates to take in a sort parameter