title: How can you make your custom property of a webpart in SharePoint 2007, sort to the top of the property pane?
body: <p>In SharePoint 2007, is it possible to programmatically sort the custom property you created to the top of the property pane? So when someone edits your webpart it would show at the top, rather than at the bottom by default, so that the user wouldn't have to scroll to the bottom?</p>
  
  <p>Here's my code, for reference:</p>
  
  <pre><code>    private string _strMainFolder = "Reports";
  
      [WebBrowsable(true)]
      [WebDisplayName("Reports SharePoint List Name")]
      [SPWebCategoryName("Report WebPart Configuration")]
      [WebPartStorage(Storage.Shared)]
      [WebDescription("Enter the SharePoint List's name that you want to use.")]
      [Personalizable(PersonalizationScope.Shared)]
      public string strMainFolder
      {
          get { return _strMainFolder; }
          set { _strMainFolder = value; }
      }
  </code></pre>