Move sort partial into notebook partial