Added a sorting feature to ConnectionViewer.