better sort test