Correct name of 'notes' field in allocations schema, sort department names alphabetically, and remove code accidentally included from dropdead branch.