add clear interface and sorted list sorted slice struct