LARAVEL 5.4 Sorting multidimensional arrays

Posted 4 months ago by vandyczech

How I can do this? A-Z for Dir and files too, for each level ...

I want this structure of diir and files:

Dir A
Dir B

        Dir A

                Dir A
                Dir B
                        file a
                        file b

                Dir C

                file a
                file b
                file c

        Dir B
        Dir C

        file a
        file b
        file c

Dir C
Dir D
Dir E

Please sign in or create an account to participate in this conversation.