add search by type
fix compareTo in Street

Signed-off-by: constpetrov <constant.petrov@gmail.com>