sort locations by name

fix #394