Add support for ordering by publish time