- Updated the API files.
- Minor bug fixes

diff --git a/tools/winapi_check/winapi_options.pm b/tools/winapi_check/winapi_options.pm
index 87f98dc..3c326cb 100644
--- a/tools/winapi_check/winapi_options.pm
+++ b/tools/winapi_check/winapi_options.pm
@@ -59,7 +59,7 @@
     "calling-convention" => { default => 0, parent => "local", description => "calling convention checking" },
     "misplaced" => { default => 0, parent => "local", description => "check for misplaced functions" },
     "cross-call" => { default => 0, parent => "local", description => "check for cross calling functions" },
-    "documentation" => { default => 0, parent => "local", description => "check for documentation inconsistances\n" },
+    "documentation" => { default => 1, parent => "local", description => "check for documentation inconsistances\n" },
              
     "global" => { default => 1, description => "global checking" }, 
     "declared" => { default => 1, parent => "global", description => "declared checking" }, 
@@ -173,14 +173,14 @@
 	$paths = join(" ",@$files);
     }
 
-    @$files = map {
+    @$files = sort(map {
 	s/^.\/(.*)$/$1/;
 	if(!/spec\.c$/) {
 	    $_;
 	} else {
 	    ();
 	}
-    } split(/\n/, `find $paths -name \\*.c`);
+    } split(/\n/, `find $paths -name \\*.c`));
 
     return $self;
 }