Fix an issue where sorting favorites by "host" or "type" would cause an exception if groups are present (fixes #2151)
Fix an issue where sorting favorites by "host" or "type" would cause an exception if groups are present (fixes #2151)

Groups are now placed at the top when not sorting by "name".

kaneshin/sequelpro,dnl-jst/sequelpro,leichunxin/sequelpro,chenbk85/sequelpro,abhibeckert/sequelpro,Jellyfrog/sequelpro,Jellyfrog/sequelpro,josegonzalez/sequelpro,kaneshin/sequelpro,eric-seekas/sequelpro,treejames/sequelpro,CoolSwitcher/sequelpro,josegonzalez/sequelpro,chenbk85/sequelpro,CoolSwitcher/sequelpro,leichunxin/sequelpro,leichunxin/sequelpro,chenbk85/sequelpro,CoolSwitcher/sequelpro,chenbk85/sequelpro,josegonzalez/sequelpro,CoolSwitcher/sequelpro,Jellyfrog/sequelpro,kaneshin/sequelpro,leichunxin/sequelpro,dnl-jst/sequelpro,Jellyfrog/sequelpro,abhibeckert/sequelpro,dnl-jst/sequelpro,eric-seekas/sequelpro,abhibeckert/sequelpro,treejames/sequelpro,dnl-jst/sequelpro,treejames/sequelpro,eric-seekas/sequelpro,treejames/sequelpro,abhibeckert/sequelpro,josegonzalez/sequelpro,eric-seekas/sequelpro,kaneshin/sequelpro