This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 224245

Summary: Organise Members: elements from same group are not sorted
Product: java Reporter: markiewb
Component: EditorAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: See failing example

Description markiewb 2012-12-26 22:35:05 UTC
[ BUILD # : 201212260001 ]
[ JDK VERSION : 1.7.0_09 ]

* enable group by visibility
* 
<code>
public class Foo {
    public void m() {}
    private void doC() {}
    private void doA() {}
    private void doB() {}
}
</code>
* invoke the "organise members" action

ACTUAL: elements from the same group/types are not sorted (C,A,B) -
IMHO it makes no sense - see screenshot

EXPECTED: elements from the same group/types are sorted (A,B,C)

----
Product Version: NetBeans IDE Dev (Build 201212260001)
Java: 1.7.0_10; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18
System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)
Comment 1 markiewb 2012-12-26 22:39:00 UTC
Created attachment 129706 [details]
See failing example
Comment 2 Dusan Balek 2013-01-07 18:11:13 UTC
A possible enhancement for the next release.
Comment 3 Dusan Balek 2013-05-09 20:27:58 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/7994ba991395
Comment 4 Quality Engineering 2013-05-11 02:32:44 UTC
Integrated into 'main-golden', will be available in build *201305102300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7994ba991395
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #224245 and #28294: Ability to sort method order - fixed.