Search results are not necessarily returned in order. This is because historical versions of dictd's dictfmt tool doesn't use a stable sort. This was fixed in commit e12dc72 (2017-06-15) by Wolfgang Mueller.