}
Comparator<TerminalString> posixFileNameTerminalComparator = new Comparator<TerminalString>()
{
private PosixFileNameComparator posixFileNameComparator =
new PosixFileNameComparator();
@Override public int compare(TerminalString o1, TerminalString o2)
{
return posixFileNameComparator.compare(o1.getCharacters(), o2.getCharacters());
}
};
Collections.sort(display, posixFileNameTerminalComparator);