int (AttachItem<T> compareItem) { int groupDifference = myGroup.getOrder() - compareItem.getGroup().getOrder(); if (groupDifference != 0) { return groupDifference; } return myGroup.compare(myInfo, compareItem.myInfo); }