Sort tables alphabetically