Index: TMCCollectionImpl.java =================================================================== --- TMCCollectionImpl.java (revision 534932) +++ TMCCollectionImpl.java (working copy) @@ -6,9 +6,9 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at -* +* * http://www.apache.org/licenses/LICENSE-2.0 -* +* * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -194,7 +194,7 @@ public TreeMap orderByName() { TreeMap tm = new TreeMap(); for (final ItemType dao : collection.values()) { - tm.put(dao.getName(), dao); + tm.put(dao.getName() + dao.getPk(), dao); } return tm; }