Don't cast to string before sorting