Fixed a error when you have no sorting, and the getItems should return a array
Merge pull request #6 from keesschepers/master

Fixed error without sorting and getItems must return an array