Fixed bug #1

dispatch_sync on the main thread puts the task at the end of the queue,
so it won’t be executed (until all tasks on the main thread are
completed)
Fixed bug #2

Bug: x is evaluated for the block context *before* it is incremented.
Fixed by using a pointer to x rather than its value
Fixed Bug #3

Overridden ModelsEntity’s description method to provide a custom string
representation of a model
Fixed Bug #4

Fix: duplicated data shown in console
Fixed bug #5

Fetched data from data store specifying a sort order