sorting, pagination and some commenting