Add sorttype to let user set the posts sort type

The posts sort type is very confusion, so I add sort type to let user can set it.