/// <summary>
		/// 
		/// </summary>
		/// <param name="directories"></param>
		/// <returns></returns>
		public static VersionedDirectory[] Sort(VersionedDirectory[] directories)
		{
			// front to back - 1 
			for(int i = 0; i < directories.Length - 1; i++)
			{
				// front + 1 to back
				for(int j = i + 1; j < directories.Length; j++)
				{			
					if (directories[i].Version < directories[j].Version)
					{											 
						// swap i with j, where i=1 and j=2
						VersionedDirectory directory = directories[j];
						directories[j] = directories[i];
						directories[i] = directory;
					}													
				}
			}
			return directories;
		}
 /// <summary>
 ///
 /// </summary>
 /// <param name="directories"></param>
 /// <returns></returns>
 public static VersionedDirectory[] Sort(VersionedDirectory[] directories)
 {
     // front to back - 1
     for (int i = 0; i < directories.Length - 1; i++)
     {
         // front + 1 to back
         for (int j = i + 1; j < directories.Length; j++)
         {
             if (directories[i].Version < directories[j].Version)
             {
                 // swap i with j, where i=1 and j=2
                 VersionedDirectory directory = directories[j];
                 directories[j] = directories[i];
                 directories[i] = directory;
             }
         }
     }
     return(directories);
 }