Added missing dtype in the schema for the expression column to ensure we can write an empty TransitionsTable
Added sort of states by start_time to the function to compute state transition probabilities. The functional implicitly relies on that states in the StatesTable are sorted by start_time. This fix ensures that the function works even if the StateTable is not sorted in the NWB file.
expression
column to ensure we can write an empty TransitionsTable