Sort contracts alphabetically