[WIP/RFC] Rewrite things

shouldn't it be ``krsort`` to run the high priority first ?