Functions

compareByPriority
compareTest