private void sortBar_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     ViewModel.ChangeSort((string)((sender as ListBox).SelectedItem as TabItem).Value);
 }