FIX: use ';' as separator for sites decoding
CHANGE: replace sortList with sorted() and has_key() with "in"