Is it possible to get the index you’re sorting over in Underscore.js? January 23, 2023 by Tarik Index is actually available like; _.sortBy([1, 4, 2, 66, 444, 9], function(num, index){ });