Use vector instead of list for sortOrder

issue #178