put assignments into alphebetical order