Class PieceSorter

java.lang.Object
VASSAL.counters.PieceSorter
All Implemented Interfaces:
Comparator<GamePiece>

public class PieceSorter extends Object implements Comparator<GamePiece>
Sorts GamePieces according to their position: If on different Maps, order by Map id If in different Stacks order by Stack position on the Map If in the same Stack, order by position within the Stack