[Sorting]: Empty elements test fixed