Enforce result ordering in list_entries query