// Select 'Ford Motor'
nattable.doCommand(new SelectRowsCommand(nattable, 1, 1, false, false));
assertEquals("B Ford Motor", getSelected().getSecurity_description());
// Sort
nattable.doCommand(new SortColumnCommand(nattable, 2, false));
// Sorted order - Alphabet co. at top
assertEquals("A Alphabet Co.", nattable.getDataValueByPosition(2, 1)
.toString());
assertEquals("B Ford Motor", nattable.getDataValueByPosition(2, 2)