add sort feature