Added ArrayUtils::sortPaths() method and made FilesystemUtils::glob() results sortable by root first or child first orders.