synchronisation in ucc
Commit for merge
Merging
Added sorting modes. Bug fixes