MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system


TMsgServer.SortUsers
TMsgServer
Top 

Sorts information about users registered at the server.

procedure SortUsers(
                   var Users:       TMsgUserInfoArray
                   const SortBy:    TMsgUserInfoArraySortBy = msgusbNone;
                   const Ascending: Boolean = True
                  );

Description
Call SortUsers to sort the users array.
Users - result array of user details. You can use GetUsers to get this array.
SortBy - sorting type.
Ascending - if SortBy is set then Ascending determines if sort order is ascending or descending.



© AidAim Software MsgCommunicator: