prettier indexing
directories first on index list