Photo sort for Facebook