reorderd match types