Manipulate SQL sort strings
