add test about right sorting