Update sort-by JavaScript function