Sorted tables and nav css fix