init sort