Sort and filter results. Display nearest, being unique on installation_id