Is it possible to sort and rearrange an array that looks like this:
itemsArray = [ [\'Anne\', \'a\'], [\'Bob\', \'b\'], [\'Henry\', \'b\'],
with numerical sortingArr:
itemsArray.sort(function(a, b){ return sortingArr[itemsArray.indexOf(a)] - sortingArr[itemsArray.indexOf(b)]; });