private void SortirajRacunProdaje()
        {
            string orderHack = cbOrderHack.SelectedValue.ToString();

            view = CollectionViewSource.GetDefaultView(Racun.Sort(cbSortiranje.SelectedItem.ToString(), orderHack));
            dgNamestaj.ItemsSource = Racun.Sort((cbSortiranje.SelectedItem.ToString()), orderHack);
            dgNamestaj.IsSynchronizedWithCurrentItem = true;
        }