Moved Sort dialog fragments into their own classes