implemented folder ordering