fixed on safari, error was sort lambda function returning boolean, not +/- number