Designing Self-organising MAS Environments: The Collective Sort Case