Add processing of codecomplete results: filter and sort