fixed sort, now sorting numerically and not alphabetically