Client side sorting and filtering

- Fixed, sorting and filtering on client side.