readahead: check for hashmap isn't empty before ordering

Signed-off-by: Alison Chaiken <alison_chaiken@mentor.com>