add unix sort flag generation