Added sort feature and some pagination
Pagination added