refactoring details, disconnecting bug fixed, tasks: 1) dsp for sorting server and client 2) sorting and ss communication 3) refactoring