tried putting Number() in comparator to fix sorting issue