Fixed bug with getIndexCapableOfSorting, updated isIndexed to always return boolean, updated some missed phpdocs