In JFileChooser folder ordering is unlike native mercury ordering for same.
Steps to Reproduce:
1) Run SwingSet2 on Mercury with -Dswing.gtkthemefile=<Your .gtkrc File>. Change the Look And Feel to GTK.
2) Go to FileChooser Demo.
3) Click on button 'Show Plain JFileChooser' and notice the folders order(For /root).
4) Now open Gedit.
5) Click Open and notice the order of folders(For /root), It is different than java implementation of the same.