Fix specific where clauses in select, and fix initialize models test.
Select typicality
order by typicality
Awesome refactoring: get typicality working, and refactor the way order by calls functions so that we don't need to duplicate the function parsing or calling code.