Fix peers and seeds sorting in transfer list.

When active peers (or seeds) of two torrents are the same we sort by total peers
(or seeds).
Merge pull request #1286 from alderz/fix_peer_sorting

Fix peers and seeds sorting in transfer list.