fix small sort problem
starting to add in component.io support #12