how can I arrange attribute in assending order like: 5,6,3 = 3,5,6
also i have check FME python caller but its not work.output is not generating.
import fme
import fmeobjects
class FeatureProcessor(object):
def __init__(self):
"""Base constructor for class members."""
pass
def input(self, feature):
cell_value = feature.getAttribute('Address Component Type')
cell_value2=sorted(cell_value)
feature.setAttribute('sorted',cell_value2)
self.pyoutput(feature)
def close(self):
"""This method is called once all the FME Features have been processed
from input().
"""
pass