fixes sort
use waitTime variable
add test, increase timeout
use oo element access
Merge pull request #29 from lipp/fix-and-test-sort

Fix and test sort