correct filter and order clients
filter and order clients
fix bug with paging