added sorts realization