makes the communities sortable