Fixes a 'No files present, so can't sort empty array' error