add: this.mFilteredFiles[i].cachedDateText = formatDate(this.mFilteredFiles[i].cachedDate); 
context:   sort: function(sortType, reverseSort, forceSort) {    if (sortType == this.mSortType && reverseSort != this.mReverseSort && !forceSort) {      this.mDirList.reverse();      this.mFilteredFiles.reverse();    } else {      var compareFunc, i;            /* We pre-fetch all the data we are going to sort on, to avoid         calling into C++ on every comparison */      switch (sortType) {      case 0:        /* no sort has been set yet */        return;      case nsFileView.SORTTYPE_NAME:        for (i = 0; i < this.mDirList.length; i++) {          this.mDirList[i].cachedName = this.mDirList[i].file.unicodeLeafName;        }        for (i = 0; i < this.mFilteredFiles.length; i++) {          this.mFilteredFiles[i].cachedName = this.mFilteredFiles[i].file.unicodeLeafName;        }        compareFunc = sortFilename;        break;      case nsFileView.SORTTYPE_SIZE:        for (i = 0; i < this.mDirList.length; i++) {          this.mDirList[i].cachedSize = this.mDirList[i].file.fileSize;        }        for (i = 0; i < this.mFilteredFiles.length; i++) {          this.mFilteredFiles[i].cachedSize = this.mFilteredFiles[i].file.fileSize;        }        compareFunc = sortSize;        break;      case nsFileView.SORTTYPE_DATE:        for (i = 0; i < this.mDirList.length; i++) {          this.mDirList[i].cachedDate = this.mDirList[i].file.lastModificationDate;        }        for (i = 0; i < this.mFilteredFiles.length; i++) {          this.mFilteredFiles[i].cachedDate = this.mFilteredFiles[i].file.lastModificationDate;        }        compareFunc = sortDate;        break;      default:        throw("Unsupported sort type " + sortType);        break;      }      this.mDirList.sort(compareFunc);      this.mFilteredFiles.sort(compareFunc);    }    this.mSortType = sortType;    this.mReverseSort = reverseSort;    if (this.mOutliner) {      this.mOutliner.invalidate();    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ebd646ec99583654b8b1189302ceada776830620/nsFileView.js/buggy/xpfe/components/filepicker/res/content/nsFileView.js