new version 0.3.3 added two options sort_as and sort_order