add --enable-sort switch for configure