Changed the BrowserCompatibility annotation to make it easier to read.
corrected some mistakes and added missing instance methods for Array.
Added javadoc for the Array class
Added documentation to the SortFunction interface