Added priority support to ME Sorting Interface