The return value hasn't been predictable prior to this commit. This is probably caused by internal implementation of Golang map. This commit fixes it by sorting the output.