smart sort numeric