i mean the easiest way is to just yoink all your freinds from the full list, chuck them in a blog post, edit it however you want visually, and then link that blog post on your main profile instead of the usual list.
if you want all your friends to be visible on the profile from the get go that's a lot more complex. and i might return to this with code, idk. theoretically you could make a grid of all the extra friends you wanna add, and then just transform/change the location until its in the right spot. but i didnt figure out a sure way to do it