bugfix: pagination, generation of sample statics; simplified structure of sorting.json