example class for getting slice objects sorted by prio