min and max ar filter, ordering