implement default-sorting plus visual indication of current sort
implement table alignment (left/right)
fix use of table components state vs opts