added sorting feature to logs grid column and tab menu selection on refresh