Added sort into AnalyticTextViewer