fixed some bugs in FileChooserUI, add sortable for it

Signed-off-by: Peter <mcheung63@hotmail.com>