I need to sort users on server, but it does not work.

Please try this: create a department under your company name, check all your created users and assign them to the new created department by clicking on the User Settings button. Then sort users again, it should work on the client program.