"bool" strings changed to BoolSorts. Pre-changing "string" and "int" to
Sorts, in order to remove basestring.