(Template.Variable t1, Template.Variable t2)
| 383 | ArrayList<Template.Variable> nholes = new ArrayList<>(holes); |
| 384 | Collections.sort(nholes, new Comparator<Template.Variable>() { |
| 385 | @Override |
| 386 | public int compare(Template.Variable t1, Template.Variable t2) { |
| 387 | return t1.getName().compareTo(t2.getName()); |
| 388 | } |
| 389 | }); |
| 390 | // Done |
| 391 | return new Tuple<>(nholes); |