bug #4617 UI issues with sortable tables

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>