Fixed sorting posts by date at userIndex