Hi all, Does anyone know how to sort blocks alphabetically and not by order of creation. For example: *** For Each adblock In ThisDrawing.ModelSpace If Not TypeOf adblock Is AcadExternalReference And TypeOf adblock Is AcadBlockReference Then msgbox adblock.Name End If Next adblock *** I would like it to appear one after one But by alphabetical order... Thanks a lot in advance Gilles