I'm running into a strange problem with PR4 that didn't exist in PR3. The store.insert method is ignoring the index and adding the record to the bottom of the list. The store is loaded using the ajax proxy.

My guess is that the insert is being performed before the store is loaded, but that should not be the case when called after the load event has fired.

		store.on({'load': function(store, records, successflag, oper) {
				// Remove any previously added optional labels
				if (store.getAt(0).data.optional === true) {
				// If a label is passed, add it
				if (label) {
					store.insert(0, [{name: label, optional: true}]);
			scope: this