Sort failures by position
add maxDisplayError options