} 
}, 
		function testReadAPI_fetch_sortMultipleSpecialComparator(t){			//	summary: 			//		Function to test sorting on multiple attributes with a custom comparator.			//	description:			//		Function to test sorting on multiple attributes with a custom comparator.			var args = dojox.data.tests.stores.CsvStore.getDatasource("stores/movies.csv");			var csvStore = new dojox.data.CsvStore(args);						csvStore.comparatorMap = {};			csvStore.comparatorMap["Producer"] = function(a,b){ 				var ret = 0;				// We want to sort authors alphabetical by their last name				function lastName(name){					if(typeof name === "undefined"){ return undefined; }										var matches = name.match(/\s*(\S+)$/); // Grab the last word in the string.					return matches ? matches[1] : name; // Strings with only whitespace will not match.				}				var lastNameA = lastName(a);				var lastNameB = lastName(b);				if(lastNameA > lastNameB || typeof lastNameA === "undefined"){					ret = 1;				}else if(lastNameA < lastNameB || typeof lastNameB === "undefined"){					ret = -1;				}				return ret;			};					var sortAttributes = [{attribute: "Producer", descending: true}, { attribute: "Title", descending: true}];					var d = new tests.Deferred();			function completed(items, findResult){				var orderedArray = [5,4,0,3,2,1,6];				t.assertTrue(items.length === 7);				var passed = true;				for(var i = 0; i < items.length; i++){					if(!(csvStore.getIdentity(items[i]) === orderedArray[i])){						passed=false;						break;					}				}				t.assertTrue(passed);				d.callback(true);			}						csvStore.fetch({sort: sortAttributes, onComplete: completed, onError: dojo.partial(dojox.data.tests.stores.CsvStore.error, t, d)});			return d; //Object		}
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/69d421d414695c7e29e901bd3854a8aed18e2332/CsvStore.js/buggy/data/tests/stores/CsvStore.js