BUG: fixed ordering direction of popularity