| | 1 | /molgenis/src/org/molgenis/framework/server/services/MolgenisXrefService.java: |
| | 2 | |
| | 3 | 2 methods of sorting the values that are returned from json results . A weird thing happens : |
| | 4 | |
| | 5 | when the initial value of the Affiliation is UMCG : |
| | 6 | |
| | 7 | WITH 1st sorting : type in the box: UM: return values are returned (in this order) : UMCG, UMC St Radboud, LUMC, Maastricht UMC -->UMCU <-- (this is not sorted!!!!!!!!) |
| | 8 | |
| | 9 | WITH 2nd sorting : type in the box: UM: return values are returned (in this order) : the same as above |
| | 10 | |
| | 11 | WITOUT SORTING : THE same !. |
| | 12 | |
| | 13 | I am guessing this problem arises : |
| | 14 | |
| | 15 | [ '"could not sort a map based on values rather than keys:" http://www.theserverside.com/discussions/thread.tss?thread_id=29569Unfortunately, what you are left with is not a map anymore but a list pretending to be a map!So maybe' |
| | 16 | |
| | 17 | SortedBidiMap |