enable sorting support for agent listing

Change-Id: Ic11d0f9a0a53d765f85f8ffe3f12d50455236394
Closes-Bug: #1313607
Merge "enable sorting support for agent listing"