Select all units of same kind

Z
Keyboard shortcut key