tricky solution: use sort()