posts: fixes by @bnoordhuis
app: support hex ids, sort by num