completed my component (sort)