Fix warnings from pyflakes
Test for sort by id
version 1.1.0