assume that we are performing search using keywords: keyword1, keyword2, keyword3
there are records in database with column \"name\":
1: John Doe 2: Samue
Read up on Boolean Fulltext Searches, with which you can do ordering.