Add ordering algorithms