<% foreach my $f ( sort { lc $a->{'file'} cmp lc $b->{'file'} } @{$files}) { %>
<% if ($f->{'type'} eq 'folder') { %> <%== '  ' x $f->{'root_count'} %><%= $f->{'short_name'} %> <% } else { %> <%== '  ' x $f->{'root_count'} %> <%= $f->{'short_name'} %> <% } %>
<% } %>