Sort entries in rdirectory

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>