add ut for flist_sort