[autocomplete] Order items by resource type and name / add icon for unknown types

+ Resource items are now ordered by multiple criteria: 1. by type 2. by
their name
+ New icon for unknown types (empty gray circle)