update to tsapi sorting on compiled units,.