improve sorting of clusters and block devices
gui: remove duplicate code
vm: fix npe if remote port is not available

java.lang.NullPointerException
null
lcmc.data.VMSXML.getRemotePort(VMSXML.java:2004)
lcmc.gui.resources.VirtualDomainInfo$1.enablePredicate(VirtualDomainInfo.java:149)