Fixed typo and change sql query

Fixed typo and change sql query for better search results, issue #1 
Could you explain how does this order by work? `order by name = '{0}' desc, name like '{0}%' desc`, I didn't see that format before.