Add sorting in object lists
Closes #7, add sorting
add pagination, closes #1