fixed sort bug of smartcontent