MRSort function

Electre TRI-like sorting method axiomatized by Bouyssou and Marchant.