Remember when implementing a search function over objects that sorting the results that a simple sort by name is probably the worst possible option. Sure it's the easiest, but at least sort the matches that are better first.
Something like:
Whole word match
Start of word match
Rest
Eg, if I search for 'ian' I really want 'Ian Smith' to be listed before 'Christian Jones'. Every time. All users want this.
Other matches that might want to be sorted earlier:
terms in sequence