Sort requirements.