Fix doc sorting order