Added tabbed version of sorting