fix #5: sort state name alphabetically and use same colors for states in all timelines.