export files sorting fix