{
var(id: <my-id>) {
friends {
A as posts (orderdesc: time-stamp, first: x) {
B as time-stamp
}
}
}
TopPostsFromMyFriends(id: var(A), orderdesc: var(B), first: x) {
<whatever-fields-you-need>
}
}
Hope this helps @jansenignacio. Let us know how it works for you!