Fixed documentation on sort() parameters

Changed documentation so that sort() takes an associative array and not a two parameters, since this seems to be the way it actually works.