also fix sorting to work with the uek kernel