'restored' custom sort modes support

git-svn-id: http://farmanager.googlecode.com/svn/trunk@11296 ea59307d-ff68-5b67-5a21-acd59c66a581
minor

git-svn-id: http://farmanager.googlecode.com/svn/trunk@11298 ea59307d-ff68-5b67-5a21-acd59c66a581