Fixes the order of chat room contacts to be ordered by presence status.