Facebook has an embedded formula that tracks just how you communicate with your friends and after that types accordingly. Resource
Facebook Friend List Order
While the exact ranking formula is secret, it does consider the following factors:
* Exactly how frequently you see your friends' profiles
* Just how usually you click on your friends' web links
* Photos/tags alike
* Common groups/ organizations
* utual Friends
* Just how typically you search for friends
* Family member appeal (exactly how preferred your friends are among your common links).
So, the actual sorting is not random, yet instead carefully crafted to promote interaction and also website engagements.