Drop "sort" and "dir" options from GetEntities

These options did no longer do anything.

Change-Id: I1e25ab0be40d66af5cbf3f2ee210b4c5e66345df