sorting doesnt work in ArrayMap, reproduced
sorting fixed in ArrayMap