Revert to old code for trip pattern persistence.
always return sorted trip patterns.