async processFilteredBookmarks(results) {
		let collator = new Intl.Collator(undefined, {numeric: true, sensitivity: 'base'});
		let resultKeys = Object.keys(results).filter(e => e !== FOLDER);
		resultKeys = resultKeys.map(e => ({type: HEADING, id: e}));
		resultKeys = resultKeys.concat(results.folder.map(e => ({type: FOLDER, id: e})));
		for (result of resultKeys) {
			let nodePath = await bookmarkDisp.generateNodePath(result.id);
			if (nodePath === null) {
				continue;
			}
			result.nodePath = nodePath;
		}
		let sortedPathIds = resultKeys.sort((a,b) => collator.compare(a.nodePath,b.nodePath));
		return sortedPathIds;
	}
/**
	 * Given output of categorizeFilteredBookmarks(), return array of IDs associated with and sorted
	 * alphabetically by their path
	 *
	 * @param  {Object} results - categorized results from categorizeFilteredBookmarks()
	 *
	 * @return {[Object]} - Array of ID Objects sorted by path
	 */
Given output of categorizeFilteredBookmarks(), return array of IDs associated with and sorted
alphabetically by their path

@param  {Object} results - categorized results from categorizeFilteredBookmarks()

@return {[Object]} - Array of ID Objects sorted by path
Given output of categorizeFilteredBookmarks () return array of IDs associated with and sorted alphabetically by their path @param { Object } results - categorized results from categorizeFilteredBookmarks () @return { [ Object ] } - Array of ID Objects sorted by path
async processFilteredBookmarks(results) {
		let collator = new Intl.Collator(undefined, {numeric: true, sensitivity: 'base'});
		let resultKeys = Object.keys(results).filter(e => e !== FOLDER);
		resultKeys = resultKeys.map(e => ({type: HEADING, id: e}));
		resultKeys = resultKeys.concat(results.folder.map(e => ({type: FOLDER, id: e})));
		for (result of resultKeys) {
			let nodePath = await bookmarkDisp.generateNodePath(result.id);
			if (nodePath === null) {
				continue;
			}
			result.nodePath = nodePath;
		}
		let sortedPathIds = resultKeys.sort((a,b) => collator.compare(a.nodePath,b.nodePath));
		return sortedPathIds;
	}
async processFilteredBookmarks ( results ) { let collator = new Intl . Collator ( undefined , { numeric : true , sensitivity : 'base' } ) ; let resultKeys = Object . keys ( results ) . filter ( e => e !== FOLDER ) ; resultKeys = resultKeys . map ( e => ( { type : HEADING , id : e } ) ) ; resultKeys = resultKeys . concat ( results . folder . map ( e => ( { type : FOLDER , id : e } ) ) ) ; for ( result of resultKeys ) { let nodePath = await bookmarkDisp . generateNodePath ( result . id ) ; if ( nodePath === null ) { continue ; } result . nodePath = nodePath ; } let sortedPathIds = resultKeys . sort ( ( a , b ) => collator . compare ( a . nodePath , b . nodePath ) ) ; return sortedPathIds ; }
Given output of categorizeFilteredBookmarks(), return array of IDs associated with and sorted
 alphabetically by their path
Given output of categorizeFilteredBookmarks () return array of IDs associated with and sorted alphabetically by their path