prod sort fix