Updated invite ordering and searching

Signed-off-by: Tom Wright <tom@inflatablecookie.com>