Use caps 'TRUE' and 'FALSE' for sorting. SP (somethimes?) doesnt like them in lowercase.