Add sort example to wbgetentities

Bug: 53030
Change-Id: I800e2d474d882e930a9be46cd965abeab94f5133