ABC filters decending by median