fixes initializing attributes in Sort class
Merge pull request #731 from Ryadnov/fix_sort_init_attributes

fixes initializing attributes in Sort class