tested and fixed "SORT" functionality of gees (in order to have a test for the type of logical_t). -> changed definition of logical_t -> changed external_t* to external_fp