Prio sort + test